WordPress at Your Fingertips
function is not described

wp_shake_js() WP 3.0.0

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

No Hooks.

Return

null. Nothing.

Usage

wp_shake_js();

Changelog

Since 3.0.0 Introduced.

Code of wp_shake_js() WP 5.8.2

<?php
function wp_shake_js() {
	?>
	<script type="text/javascript">
	document.querySelector('form').classList.add('shake');
	</script>
	<?php
}