WordPress.org

Codex

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

Function Reference/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 is_user_member_of_blog instead.

Description

This function is deprecated as of WordPress 3.3.0. Please use is_user_member_of_blog() instead.

Checks if the current user belong to a given blog.

Usage

<?php is_blog_user$blog_id ); ?>

Parameters

$blog_id
(int) (optional) Blog ID
Default: 0

Return Values

(bool) 
True if the current users belong to $blog_id, false if not.

Change Log

Deprecated: 3.3.0 Since: 3.0

Source File

is_blog_user() is located in wp-includes/user.php