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:Defined at:Change Log: - Introduced in WordPress: —
- Deprecated in WordPress: —
Description
Finds out whether a user is a member of a given blog.