remove_user_from_blog action-hook . WP 3.0.0
Fires before a user is removed from a site.
Usage
add_action( 'remove_user_from_blog', 'action_function_name_9716', 10, 3 ); function action_function_name_9716( $user_id, $blog_id, $reassign ){ // action... }
- $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.
Changelog
Since 3.0.0 | Introduced. |
Since 5.4.0 | Added the $reassign parameter. |
Where the hook is called
remove_user_from_blog
wp-includes/ms-functions.php 261
do_action( 'remove_user_from_blog', $user_id, $blog_id, $reassign );