• Resolved smiley58

    (@smiley58)


    I would like to customize the general error message for login lock, e.g. in 2 languages and with contact option to the webmaster. is that possible? if so: How?
    Regards. Boris

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

    (@hjogiupdraftplus)

    Hi @smiley58

    you can add filter aiowps_ip_blocked_error_msg as below in active theme’s functions.php file to change ip blocked error message. you can change in return string. I have change sequence of the two message there.

    you may add condition for language and change the message.

    function aiowps_ip_blocked_error_msg_custom() {
    return '<strong>ERROR:</strong>Please contact the administrator. Access from your IP address has been blocked for security reasons.';
    }

    add_filter('aiowps_ip_blocked_error_msg', 'aiowps_ip_blocked_error_msg_custom');

    Regards

    Thread Starter smiley58

    (@smiley58)

    Thank you! I will have a look at it. Regards. Boris

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Customize general error message for login lock’ is closed to new replies.