首页 WordPress函数大全 add_new_user_to_blog()

add_new_user_to_blog()

2020-05-01 / 4737阅 / 悠然

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

add_new_user_to_blog( int $user_id, string $password, array $meta )

Adds a newly created user to the appropriate blog

描述

To add a user in general, use add_user_to_blog(). This function is specifically hooked into the ‘wpmu_activate_user’ action.

See also See also

  • add_user_to_blog()

Top ↑

参数

$user_id

(int)
(Required)
User ID.

$password

(string)
(Required)
User password. Ignored.

$meta

(array)
(Required)
Signup meta data.

大家谈论
    我的见解