Categories
Wordpress

Remove login shake effect WordPress

If you search for a way to get rid of the shake effect of the WordPress login form when the input is erroneous you’ll find this snippet everywhere:

PHP

That used to work but the action has moved to login_footer (since somewhere aound WP 5).

So this’ll work:

PHP