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



wp_is_large_network ›

Desde4.8.0
Obsoleton/a
apply_filters( 'wp_is_large_network', $count > 10000, 'users', $count, $network_id )
Parâmetros: (4)
  • (bool) $is_large_network Whether the network has more than 10000 users or sites.
    Required: Yes
  • (string) $component The component to count. Accepts 'users', or 'sites'.
    Required: Yes
  • (int) $count The count of items for the component.
    Required: Yes
  • (int) $network_id The ID of the network being checked.
    Required: Yes
Definido em:
Codex:

Filters whether the network is considered large.





Fonte

return apply_filters( 'wp_is_large_network', $count > 10000, 'users', $count, $network_id );