WPDev.one
Core Function
View Source on Trac ↗

is_blog_user()

is_blog_user( mixed $blog_id = 0 )

Checks if the current user belong to a given site.

Parameters 0 required

Name / Type Description
$blog_id
int

Site ID

Return Value

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

Function Information

Since Version
MU (3.0.0)
Source File
wp-includes/deprecated.php
Advertisement