do_action( 'add_user_to_blog', int $user_id, string $role, int $blog_id )

Fires immediately after a user is added to a site.


Parameters

$user_id

User ID.

$role

User role.

$blog_id

Blog ID.


Source

File: wp-includes/ms-functions.php

View on GitHub



Changelog

Changelog
Version Description
WP-MU Introduced. (3.0.0)