Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_is_large_network ›

Da4.8.0
Deprecaton/a
apply_filters( 'wp_is_large_network', $count > 10000, 'users', $count, $network_id )
Parametri: (4)
  • (bool) $is_large_network Whether the network has more than 10000 users or sites.
    Richiesto:
  • (string) $component The component to count. Accepts 'users', or 'sites'.
    Richiesto:
  • (int) $count The count of items for the component.
    Richiesto:
  • (int) $network_id The ID of the network being checked.
    Richiesto:
Definito a:
Codex:

Filters whether the network is considered large.





Sorgenti

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