wp_update_user Wordpress function


Description:

Update an user in the database.


Syntax:


Arguments:

(mixed) $userdata An array of user data or a user object of type stdClass or WP_User.


Return Type:

(int|WP_Error) The updated user's ID or a WP_Error object if the user could not be updated.


Define At:

wp-includes/user.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/wp_update_user


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×