• Resolved adsmar87

    (@adsmar87)


    Hi, I’m looking to change the default text that displays when a user is locked out for too many incorrect password attempts. The text currently reads:

    Error: Access from your IP address has been blocked for security reasons. Please contact the administrator.

    I would like to add a contact email address to this. Any ideas on what file I would need to edit to achieve this? Or can it be done with a function?

    Thanks, Adam

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    Hi @adsmar87

    you may try add filter below in function.php of theme and change it. aiowps_ip_blocked_error_msg

    Regards

    Thread Starter adsmar87

    (@adsmar87)

    Thats great, thanks for your help!

    For anyone else, I added the below to my theme’s functions.php

    function admin_error_msg() {
        return 'Error: Access from your IP address has been blocked for security reasons. Please contact the administrator - [email protected].';
    }
    add_filter( 'aiowps_ip_blocked_error_msg', 'admin_error_msg' );
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change Error Message text’ is closed to new replies.