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

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

Related Functions

get_users_of_blog, is_user_option_local, is_user_logged_in, current_user_can_for_blog, insert_blog

Top Google Results

User discussions

wpseek mobile