How to remove login shake effect when error occurs

By | March 9, 2018

How to remove login shake effect when error occurs,Remove login shake effect on error

This tutorial is going to show how to remove login shake affect in WordPress.

How to remove login shake effect when error occurs

Simply paste the following code into your functions.php file:

 

function wps_login_error() {
        remove_action('login_head', 'wp_shake_js', 12);
}
add_action('login_head', 'wps_login_error');

Leave a Reply

Your email address will not be published. Required fields are marked *