Advertisements

create_user

Definition:
function create_user($username, $password, $email) {}

An alias of wp_create_user().

Parameters

  • string $username: The user’s username.
  • string $password: The user’s password.
  • string $email: The user’s email (optional).

Return values

returns:The new user’s ID.

Source code

function create_user($username, $password, $email) {

	_deprecated_function( __FUNCTION__, '2.0', 'wp_create_user()' );

	return wp_create_user($username, $password, $email);

}

746

Advertisements

No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: