get_blogs_of_user

Advertisement

Summery Summery

Filters the list of sites a user belongs to.

Syntax Syntax

apply_filters( 'get_blogs_of_user', array $sites, int $user_id, bool $all )

Parameters Parameters

$sites

(array) An array of site objects belonging to the user.

$user_id

(int) User ID.

$all

(bool) Whether the returned sites array should contain all sites, including those marked 'deleted', 'archived', or 'spam'. Default false.

Source Source

File: wp-includes/user.php

Advertisement

Changelog Changelog

Changelog
Version Description
MU (3.0.0) Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.