Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren

get_blogs_of_user ›

SeitMU (3.0.0)
apply_filters( 'get_blogs_of_user', $sites, $user_id, $all )
Parameter: (3)
  • (object[]) $sites An array of site objects belonging to the user.
    Erforderlich: Ja
  • (int) $user_id User ID.
    Erforderlich: Ja
  • (bool) $all Whether the returned sites array should contain all sites, including those marked 'deleted', 'archived', or 'spam'. Default false.
    Erforderlich: Ja
Definiert in:

Filters the list of sites a user belongs to.


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