Used By
| Used By | Description |
|---|---|
| wp-includes/user.php: get_blogs_of_user() | Get the sites a user belongs to. |
Filters the list of a user’s sites before it is populated.
Returning a non-null value from the filter will effectively short circuit get_blogs_of_user(), returning that value instead.
(null|array) An array of site objects of which the user is a member.
(int) User ID.
(bool) Whether the returned array should contain all sites, including those marked 'deleted', 'archived', or 'spam'. Default false.
File: wp-includes/user.php
| Version | Description |
|---|---|
| 4.6.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/pre_get_blogs_of_user