Title: Change e-mail&#039;s subject
Last modified: August 31, 2016

---

# Change e-mail's subject

 *  Resolved [luiz1361](https://wordpress.org/support/users/luiz1361/)
 * (@luiz1361)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/change-e-mails-subject/)
 * Hi all,
 * I’d like to ask you if it would be possible to include an option to be able to
   change the e-mail’s subject.
    At the moment I’ve changed the ninjafirewall/ninjafirewall.
   php as below to be able to see the $url on the e-mails subject, which isn’t there
   by default.
 * nfw_get_blogtimezone();
 *  if ( is_multisite() ) {
    $url = __(‘-Blog :’, ‘ninjafirewall’) .’ ‘. network_home_url(‘/’).“\
   n\n”; } else { $url = __(‘-Blog :’, ‘ninjafirewall’) .’ ‘. home_url(‘/’) . “\
   n\n”; } $subject = ‘[NinjaFirewall] ‘ . $url . ‘ ‘ . __(‘Alert: WordPress console
   login’, ‘ninjafirewall’);
 * [https://wordpress.org/plugins/ninjafirewall/](https://wordpress.org/plugins/ninjafirewall/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [nintechnet](https://wordpress.org/support/users/nintechnet/)
 * (@nintechnet)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/change-e-mails-subject/#post-7217845)
 * Hi,
 * We will rewrite all parts of code that deal with notifications very soon.
    We
   will try to add one or more templates, so that you could simply edit them the
   way you want.

Viewing 1 replies (of 1 total)

The topic ‘Change e-mail's subject’ is closed to new replies.

 * ![](https://ps.w.org/ninjafirewall/assets/icon-256x256.png?rev=976137)
 * [NinjaFirewall (WP Edition) - Advanced Security Plugin and Firewall](https://wordpress.org/plugins/ninjafirewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ninjafirewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ninjafirewall/)
 * [Active Topics](https://wordpress.org/support/plugin/ninjafirewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ninjafirewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ninjafirewall/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [nintechnet](https://wordpress.org/support/users/nintechnet/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/change-e-mails-subject/#post-7217845)
 * Status: resolved