Action hook 'remove_user_from_blog'

in WP Core File wp-includes/ms-functions.php at line 246

Description

Fires before a user is removed from a site.

Occurrences

Filename Line Number
wp-includes/ms-functions.php 246

Parameters

Type Name Description
int $user_id ID of the user being removed.
int $blog_id ID of the blog the user is being removed from.
int $reassign ID of the user to whom to reassign posts.

PHP Doc

/**
	 * Fires before a user is removed from a site.
	 *
	 * @since MU (3.0.0)
	 * @since 5.4.0 Added the `$reassign` parameter.
	 *
	 * @param int $user_id  ID of the user being removed.
	 * @param int $blog_id  ID of the blog the user is being removed from.
	 * @param int $reassign ID of the user to whom to reassign posts.
	 */