WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about add_user_to_blog

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/ms-functions.php do_action 202 /**
* 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.
*/

Hook Parameters

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