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



get_blogs_of_user › WordPress Filter Hooks

SeitMU (3.0.0)
Veraltetn/v
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:
Codex:

Filters the list of sites a user belongs to.





Quellcode

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