add_user_to_blog

Advertisement

Summery Summery

Fires immediately after a user is added to a site.

Syntax Syntax

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

Parameters Parameters

$user_id

User ID.

$role

User role.

$blog_id

Blog ID.

Source Source

File: wp-includes/ms-functions.php

Advertisement

Changelog Changelog

Changelog
Version Description
MU (3.0.0) Introduced.

Advertisement

Leave a Reply