Outputs the JavaScript to handle the form shaking on the login page.
function wp_shake_js() {
wp_print_inline_script_tag( "document.querySelector('form').classList.add('shake');" );
}
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/wp_shake_js