A WordPress-centric search engine for devs and theme authors

get_blogs_of_user ›

SinceMU (3.0.0)
apply_filters( 'get_blogs_of_user', $sites, $user_id, $all )
Parameters: (3)
  • (array) $sites An array of site objects belonging to the user.
    Required: Yes
  • (int) $user_id User ID.
    Required: Yes
  • (bool) $all Whether the returned sites array should contain all sites, including those marked 'deleted', 'archived', or 'spam'. Default false.
    Required: Yes
Defined at:

Filters the list of sites a user belongs to.


return apply_filters( 'get_blogs_of_user', $sites, $user_id, $all );