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

(int) ID of the user being removed.

$blog_id

(int) ID of the blog the user is being removed from.

$reassign

(int) ID of the user to whom to reassign posts.

Source

File: wp-includes/ms-functions.php

View on Trac

Changelog

Version Description
MU (3.0.0) MU (3.0.0)
5.4.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/remove_user_from_blog