is_user_member_of_blog


is_user_member_of_blog ( $user_id = 0, $blog_id = 0 )

Parameters:
  • (int) user_id Optional. The unique ID of the user. Defaults to the current user.
  • (int) blog_id Optional. ID of the blog to check. Defaults to the current site.
Returns:
  • (bool)
Defined at:
Change Log:
  • M: U

Description

Finds out whether a user is a member of a given blog.

Related Functions

get_users_of_blog, add_user_to_blog, add_existing_user_to_blog, add_new_user_to_blog, is_user_option_local

Top Google Results

User discussions

wpseek mobile