do_action( 'remove_user_from_blog', int $user_id, int $blog_id, int $reassign )

Fires before a user is removed from a site.


Parameters

$user_id

ID of the user being removed.

$blog_id

ID of the blog the user is being removed from.

$reassign

ID of the user to whom to reassign posts.


Source

File: wp-includes/ms-functions.php

View on GitHub



Changelog

Changelog
Version Description
5.4.0 Added the $reassign parameter.
MU (3.0.0) Introduced. MU (3.0.0)