1

So with WordPress if you fail a Login the screen refreshes and when it does the Login Form does this shake animation which I don't really like I was wondering if there is a way to get rid of this?

I'm grateful for any help :)

1 Answer 1

3

This will remove the shake -- at least that's what Google says.

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.