• Resolved luiz1361

    (@luiz1361)


    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/

Viewing 1 replies (of 1 total)
  • Plugin Author nintechnet

    (@nintechnet)

    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.