WordPress开发者和主题制作者的搜索引擎



create_user ›

Since2.0.0
已弃用2.0.0
create_user ( $username, $password, $email )
参数: (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
查看:
返回:
  • (int) The new user's ID.
定义在:
文档:

An alias of wp_create_user().



源码

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