wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_shake_js › WordPress Function

Since3.0.0
Deprecatedn/a
wp_shake_js ( No parameters )
Defined at:
Codex:

Outputs the JavaScript to handle the form shaking on the login page.



Source

function wp_shake_js() {
	wp_print_inline_script_tag( "document.querySelector('form').classList.add('shake');" );
}