get_blogs_of_user ( $user_id, $all = false )
- (int) user_id User ID
- (bool) all Whether to retrieve all sites, or only sites that are not marked as deleted, archived, or spam.
Defined at:Change Log:
- (array) A list of the user's sites. An empty array if the user doesn't exist or belongs to no sites.
- Introduced in WordPress: 3.0.0
- Deprecated in WordPress: —
Get the sites a user belongs to.