Action hook 'add_user_to_blog'

in WP Core File wp-includes/ms-functions.php at line 202

Description

Fires immediately after a user is added to a site.

Occurrences

Filename Line Number
wp-includes/ms-functions.php 202

Parameters

Type Name Description
int $user_id User ID.
string $role User role.
int $blog_id Blog ID.

PHP Doc

/**
	 * Fires immediately after a user is added to a site.
	 *
	 * @since MU (3.0.0)
	 *
	 * @param int    $user_id User ID.
	 * @param string $role    User role.
	 * @param int    $blog_id Blog ID.
	 */