Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save Tsunamijaan/38e420be7264890c61961f9ceb04e8ed to your computer and use it in GitHub Desktop.

Select an option

Save Tsunamijaan/38e420be7264890c61961f9ceb04e8ed to your computer and use it in GitHub Desktop.
To remove login shake effect when error occurs on wp login
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