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.
Source
Changelog
Version | Description |
---|---|
MU (3.0.0) | MU (3.0.0) |
5.4.0 | Introduced. |