default_password_nag_edit_user [ WordPress Function ]
default_password_nag_edit_user ( $user_ID, $old_data )
| Defined at: |
|
Benzer Fonksiyonlar: default_password_nag_handler, default_password_nag, user_can_edit_user, get_default_page_to_edit, get_default_post_to_edit
No description yet.
Source
<?php
function default_password_nag_edit_user($user_ID, $old_data) {
if ( ! get_user_option('default_password_nag', $user_ID) ) //Short circuit it.
return;
$new_data = get_userdata($user_ID);
if ( $new_data->user_pass != $old_data->user_pass ) { //Remove the nag if the password has been changed.
delete_user_setting('default_password_nag', $user_ID);
update_user_option($user_ID, 'default_password_nag', false, true);
}
}
?>
Examples [ wp-snippets.com ]
Google Arama Sonuçlarý
- default_password_nag_edit_user() WordPress function reference ...
Signature. default_password_nag_edit_user( $user_ID, $old_data ). user_ID: old_data ... URL. http://queryposts.com/function/ default_password_nag_edit_user/ ...
queryposts.com - Docs for page user.php
void default_password_nag (). default_password_nag_edit_user (line 329). since: 2.8.0. void default_password_nag_edit_user ( $user_ID, $old_data) ...
phpdoc.wordpress.org - PHP Performance
May 18, 2012... 10, 2); -function default_password_nag_edit_user($user_ID, $old_data) { + function default_password_nag_edit_user($xuser_ID, $old_data) ...
talks.php.net - PHPXRef 0.7 : WordPress : /wp-admin/includes/user.php source
... 324 325 add_action('profile_update', 'default_password_nag_edit_user', 10, ... @since 2.8.0 328 */ 329 function default_password_nag_edit_user($user_ID, ...
phpxref.ftwr.co.uk