wp_update_user

wp_update_user

Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.7

do_action('wp_update_user') is found 1 times:

  • /wp-includes/user.php line 2812
    	 * @param int   $user_id      The ID of the user that was just updated.
    	 * @param array $userdata     The array of user data that was updated.
    	 * @param array $userdata_raw The unedited array of user data that was updated.
    	 */
    	do_action( 'wp_update_user', $user_id, $userdata, $userdata_raw );
    
    	return $user_id;
    }
    
    /**
     * Provides a simpler way of inserting a user into the database.