首页 WordPress函数大全 create_user()

create_user()

2020-05-01 / 5550阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

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().

描述

See also See also

  • wp_create_user()

Top ↑

参数

$username

(string)
(Required)
The user's username.

$password

(string)
(Required)
The user's password.

$email

(string)
(Required)
The user's email.

返回

(int) The new user's ID.

大家谈论
    我的见解