How to Remove the Login Shake Effect in WordPress148

How-to-Remove-the-Login-Shake-Effect-in-WordPress

If you regularly have a habit of entering your login credintials every time you use WordPress, then you might be aware about the login shake feature.

login

Whenever your credintials doesnot match the login shakes. If you want to stop it, this is what you need to do.

Guide

Open your theme’s function.php file and paste the code below:

functionwpb_remove_loginshake() {

    remove_action('login_head', 'wp_shake_js', 12);

}

add_action('login_head', 'wpb_remove_loginshake');

Now, you will see that there is no more shake effect in your login whenever you type wrong password or username.