wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



get_blogs_of_user › WordPress Filter Hooks

DaMU (3.0.0)
Deprecaton/a
apply_filters( 'get_blogs_of_user', $sites, $user_id, $all )
Parametri: (3)
  • (object[]) $sites An array of site objects belonging to the user.
    Richiesto:
  • (int) $user_id User ID.
    Richiesto:
  • (bool) $all Whether the returned sites array should contain all sites, including those marked 'deleted', 'archived', or 'spam'. Default false.
    Richiesto:
Definito a:
Codex:

Filters the list of sites a user belongs to.





Sorgenti

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