wp_update_user

wp_update_user

Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

do_action('wp_update_user') is found 1 times:

  • /wp-includes/user.php line 2812
    2808
    2809
    2810
    2811
    2812
    2813
    2814
    2815
    2816
    2817
    2818
         * @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.