apply_filters( 'get_blogs_of_user', object[] $sites, int $user_id, bool $all )

Filters the list of sites a user belongs to.

Parameters Parameters


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


(int) User ID.


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

Top ↑

Source Source

File: wp-includes/user.php

View on Trac

Top ↑

Changelog Changelog

Version Description
MU (3.0.0) Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.