WordPress at a glance
action is not described

add_user_to_blog action-hook . WP MU

Fires immediately after a user is added to a site.

Usage

add_action( 'add_user_to_blog', 'action_function_name_1652', 10, 3 );
function action_function_name_1652( $user_id, $role, $blog_id ){
	// action...
}
$user_id(int)
User ID.
$role(string)
User role.
$blog_id(int)
Blog ID.

Notes

  • Since MU (3.0.0)

Where the hook is called

add_user_to_blog()
wp-includes/ms-functions.php 204
do_action( 'add_user_to_blog', $user_id, $role, $blog_id );

Where the hook is used (in WP core)

Does not used.