Tambahkan kelas ke semua input teks WordPress

function my_footer_script() { ?>

	<script type="text/javascript">
			
		jQuery(document).ready(function($) {
			$('input, textarea').addClass('data-hj-whitelist');
		});
		
	</script>

<?php }
add_action('wp_print_footer_scripts', 'my_footer_script');
Friendly Falcon