Ready to get started?Download WordPress


Attention Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

WPMU Functions/is blog user

This function has been deprecated. That means it has been replaced by a new function or is no longer supported, and may be removed from future versions. All code that uses this function should be converted to use its replacement if one exists. See also wp-includes/deprecated.php. Use any of these functions instead.

Use is_user_member_of_blog() instead.


Checks to see if the current logged in user is a member of the blog specified.


(integer) (optional) The id of the blog.
Default: Current blog id.

Return Values

True, if user is a member of the blog, else false.


<?php is_blog_user($blog_id?>


If (is_blog_user()) {
//user is a member of this blog