remove_user_from_blog WordPress Action Hook

The remove_user_from_blog Wordpress hook is used to remove a user from a blog. This hook is called when a user is deleted from a blog.

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.


Top ↑

Source

File: wp-includes/ms-functions.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
MU (3.0.0)MU (3.0.0)
5.4.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More