add_new_user_to_blog() wordpress function and usage This text is not used because the data attribute has a value

add_new_user_to_blog() wordpress function and usage

Home / WordPress / WordPress Wiki / add_new_user_to_blog() wordpress function and usage

add_new_user_to_blog( int $user_id, string $password, array $meta )
Adds a newly created user to the appropriate blog

Description

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

See also

  • add_user_to_blog()

Parameters

$user_id

(int) (Required) User ID.

$password

(string) (Required) User password. Ignored.

$meta

(array) (Required) Signup meta data.

 

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments