WordPress at a glance
function is not described

create_user() WP 2.0.0

Deprecated in 2.0.0. It is no longer supported and can be removed in future releases. Use wp_create_user() instead.

An alias of wp_create_user().

  • See: wp_create_user()

No Hooks.


Int. The new user's ID.


create_user( $username, $password, $email );
$username(string) (required)
The user's username.
$password(string) (required)
The user's password.
$email(string) (required)
The user's email.

Code of create user: wp-includes/deprecated.php WP 5.2.2

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