wpseek.com
A WordPress-centric search engine for devs and theme authors



get_blogs_of_user › WordPress Filter Hooks

SinceMU (3.0.0)
Deprecatedn/a
apply_filters( 'get_blogs_of_user', $sites, $user_id, $all )
Parameters: (3)
  • (object[]) $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:
Codex:

Filters the list of sites a user belongs to.





Source

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