WordPress.org

Codex

Function Reference/is blog user

Contents

Description

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

Since: 3.0

Source File

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