profile_update

profile_update

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.5.3

do_action('profile_update') is found 1 times:

  • /wp-includes/user.php line 2475
    		 * @param int     $user_id       User ID.
    		 * @param WP_User $old_user_data Object containing user's data prior to update.
    		 * @param array   $userdata      The raw array of data passed to wp_insert_user().
    		 */
    		do_action( 'profile_update', $user_id, $old_user_data, $userdata );
    
    		if ( isset( $userdata['spam'] ) && $userdata['spam'] != $old_user_data->spam ) {
    			if ( 1 == $userdata['spam'] ) {
    				/**
    				 * Fires after the user is marked as a SPAM user.
    				 *
    

See this hook used in plugins: