Function: add_new_user_to_blog

add_new_user_to_blog( integer $user_id, mixed $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.

Parameters

Name Type(s) Default Value Description
$user_id integer
$password mixed

Ignored.

$meta array

WordPress Developer Newsletter

Stay on top of the latest WordPress API changes, developer tool updates, security alerts and more.