Private Access Private Access
This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
Syntax Syntax
Source Source
File: wp-admin/includes/user.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 }
Advertisement
Changelog Changelog
Version | Description |
---|---|
3.5.0 | Introduced. |