Uma área de pesquisa sobre o WordPress para devs e autores do tema



get_blogs_of_user ›

DesdeMU (3.0.0)
Obsoleton/a
apply_filters( 'get_blogs_of_user', $sites, $user_id, $all )
Parâmetros: (3)
  • (array) $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
Definido em:
Codex:

Filters the list of sites a user belongs to.





Fonte

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