Created
January 5, 2019 09:09
-
-
Save Tsunamijaan/38e420be7264890c61961f9ceb04e8ed to your computer and use it in GitHub Desktop.
To remove login shake effect when error occurs on wp login
This file contains hidden or 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
| function wps_login_error() { | |
| remove_action('login_head', 'wp_shake_js', 12); | |
| } | |
| add_action('login_head', 'wps_login_error'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment