Support » Plugin: All In One WP Security & Firewall » aiowps_ip_blocked_error_msg

  • Resolved apkajanu

    (@apkajanu)


    Hi after updating to 4.1.0 I can see below changelog which I guess can be used to change the message on the login page.

    Added a new filter (called “aiowps_ip_blocked_error_msg”) which allows the modification of the error message displayed on the login page when an IP address has been blocked by the login lockdown feature.

    I just want to know how can I use this feature? I was looking for this update.

    Regards

    https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi apkajanu,

    Just use it as any other filter:

    function my_custom_message($error_msg) {
      return 'My custom error message!';
    }
    add_filter('aiowps_ip_blocked_error_msg', 'my_custom_message');
    

    Most often you want to place this snippet in your theme’s functions.php file.

    Cheers,
    Česlav

    Thread Starter apkajanu

    (@apkajanu)

    Thank youuuuuuuuuuuuuuuuuuu..

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘aiowps_ip_blocked_error_msg’ is closed to new replies.