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 comment