Created
November 10, 2016 11:49
-
-
Save petersplugins/3bc70d9a200921d54f32850e59cea286 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// This code snippet removes the wrong password login screen shake | |
// Add a custom function to the login head | |
add_action( 'login_head', 'remove_login_shake' ); | |
function remove_login_shake() { | |
// remove the wp_shake JavaScript | |
remove_action( 'login_head', 'wp_shake_js', 12 ); | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment