wpseek.com
A WordPress-centric search engine for devs and theme authors
delete_users_add_js is private and should not be used in themes or plugins directly.
delete_users_add_js › WordPress Function
Since3.5.0
Deprecatedn/a
› delete_users_add_js ( No parameters )
Access: |
|
Defined at: |
|
Codex: |
No description yet.
Related Functions: delete_user_meta, delete_usermeta, delete_user_setting, wp_delete_user, delete_user_option
Source
function delete_users_add_js() { ?> <script> jQuery( 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'); }); } );