Warning: This function has been deprecated. Use wp_create_user() instead.
create_user( string $username, string $password, string $email )
An alias of wp_create_user().
Description Description
See also See also
Parameters Parameters
- $username
-
(string) (Required) The user's username.
- $password
-
(string) (Required) The user's password.
-
(string) (Required) The user's email.
Return Return
(int) The new user's ID.
Source 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); }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |