wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



get_blogs_of_user › Les Filtres WordPress

DepuisMU (3.0.0)
Dépréciéen/a
apply_filters( 'get_blogs_of_user', $sites, $user_id, $all )
Paramètres: (3)
  • (object[]) $sites An array of site objects belonging to the user.
    Requis: Oui
  • (int) $user_id User ID.
    Requis: Oui
  • (bool) $all Whether the returned sites array should contain all sites, including those marked 'deleted', 'archived', or 'spam'. Default false.
    Requis: Oui
Défini(e) dans:
Codex:

Filters the list of sites a user belongs to.





Source

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