WordPress at Your Fingertips
function is not described

delete_users_add_js() WP 3.5.0

No Hooks.

Return

null. Nothing.

Usage

delete_users_add_js();

Changelog

Since 3.5.0 Introduced.

Code of delete_users_add_js() WP 5.8.2

<?php
function delete_users_add_js() {
	?>
<script>
jQuery(document).ready( function($) {
	var submit = $('#submit').prop('disabled', true);
	$('input[name="delete_option"]').one('change', function() {
		submit.prop('disabled', false);
	});
	$('#reassign_user').focus( function() {
		$('#delete_option1').prop('checked', true).trigger('change');
	});
});
</script>
	<?php
}