create_user()WP 2.0.0

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

No Hooks.

Return

Int. The new user's ID.

Usage

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.

Notes

Changelog

Since 2.0.0 Introduced.
Deprecated Since 2.0.0 Use wp_create_user()

Code of create_user() WP 6.0

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