is_blog_user

Definition:
function is_blog_user( $blog_id = 0 ) {}

Checks if the current user belong to a given blog.

Parameters

  • int $blog_id: Blog ID

Return values

returns:True if the current users belong to $blog_id, false if not.

Source code

function is_blog_user( $blog_id = 0 ) {

	_deprecated_function( __FUNCTION__, '3.3', 'is_user_member_of_blog()' );



	return is_user_member_of_blog( get_current_user_id(), $blog_id );

}

16608

No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: