create_user( string $username, string $password, string $email )
This function has been deprecated. Use wp_create_user() instead.
An alias of wp_create_user().
Description
See also
Parameters
- $username
-
(string) (Required) The user's username.
- $password
-
(string) (Required) The user's password.
-
(string) (Required) The user's email.
Return
(int) The new user's ID.
Source
File: wp-includes/deprecated.php
function create_user($username, $password, $email) {
_deprecated_function( __FUNCTION__, '2.0.0', 'wp_create_user()' );
return wp_create_user($username, $password, $email);
} Changelog
| Version | Description |
|---|---|
| 2.0.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/create_user