wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



pre_count_users › Filtr WordPress Hooks

Od5.1.0
Przestarzałyn/a
apply_filters( 'pre_count_users', null, $strategy, $site_id )
Parametry: (3)
  • (null|array) $result The value to return instead. Default null to continue with the query.
    Wymagane: Tak
  • (string) $strategy Optional. The computational strategy to use when counting the users. Accepts either 'time' or 'memory'. Default 'time'.
    Wymagane: Tak
  • (int) $site_id The site ID to count users for.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the user count before queries are run.

Return a non-null value to cause count_users() to return early.





Źródło

$pre = apply_filters( 'pre_count_users', null, $strategy, $site_id );