wp_shake_js()
Outputs the JavaScript to handle the form shaking on the login page.
No Hooks.
Return
null
. Nothing (null).
Usage
wp_shake_js();
Changelog
Since 3.0.0 | Introduced. |
wp_shake_js() wp shake js code WP 6.8
function wp_shake_js() { wp_print_inline_script_tag( "document.querySelector('form').classList.add('shake');" ); }