A WordPress-centric search engine for devs and theme authors



create_user ›

Since2.0.0
Deprecated2.0.0
create_user ( $username, $password, $email )
Parameters: (3)
  • (string) $username The user's username.
    Required: Yes
  • (string) $password The user's password.
    Required: Yes
  • (string) $email The user's email.
    Required: Yes
See:
Returns:
  • (int) The new user's ID.
Defined at:
Codex:

An alias of wp_create_user().



Source

function create_user($username, $password, $email) {
	_deprecated_function( __FUNCTION__, '2.0.0', 'wp_create_user()' );
	return wp_create_user($username, $password, $email);
}