WPDev.one
Core Function
View Source on Trac ↗

get_active_blog_for_user()

get_active_blog_for_user( mixed $user_id )

Gets one of a user's active blogs.

Parameters 1 required

Name / Type Description
$user_id
int

The unique ID of the user

Required

Return Value

((WP_Site)
| void) The blog object

Function Information

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