Codex tools: Log in
Contents |
Removes a user from a blog.
Accepts an optional $reassign parameter, if you want to reassign the user's blog posts to another user upon removal.
<?php remove_user_from_blog($user_id, $blog_id, $reassign = ); ?>
Use the 'remove_user_from_blog' action to fire an event when users are removed from a blog.
Since: MU
remove_user_from_blog() is located in wp-includes/ms-functions.php