Filters the list of sites a user belongs to.
$sitesobject[]
$user_idint
$allbool
'deleted', 'archived', or 'spam'. Default false.return apply_filters( 'get_blogs_of_user', $sites, $user_id, $all );
| Version | Description |
|---|---|
| MU (3.0.0) | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/get_blogs_of_user