wp_insert_user Wordpress function


Description:

Insert an user into 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 newly created user's ID or a WP_Error object if the user could not be created.


Define At:

wp-includes/user.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/wp_insert_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 ×