A WordPress-centric search engine for devs and theme authors



wp_shake_js ›

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

Outputs the Javascript to handle the form shaking.



Source

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