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

(int) User ID.

$role

(string) User role.

$blog_id

(int) 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

This site uses Akismet to reduce spam. Learn how your comment data is processed.