Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



wp_is_large_network ›

Seit4.8.0
Veraltetn/v
apply_filters( 'wp_is_large_network', $count > 10000, 'users', $count, $network_id )
Parameter: (4)
  • (bool) $is_large_network Whether the network has more than 10000 users or sites.
    Erforderlich: Ja
  • (string) $component The component to count. Accepts 'users', or 'sites'.
    Erforderlich: Ja
  • (int) $count The count of items for the component.
    Erforderlich: Ja
  • (int) $network_id The ID of the network being checked.
    Erforderlich: Ja
Definiert in:
Codex:

Filters whether the network is considered large.





Quellcode

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