wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



pre_count_users › WordPress Filter Hooks

Da5.1.0
Deprecaton/a
› apply_filters( 'pre_count_users', null, $strategy, $site_id )
Parametri: (3)
  • () result The value to return instead. Default null to continue with the query.
    Richiesto: Sì
  • () strategy Optional. The computational strategy to use when counting the users. Accepts either 'time' or 'memory'. Default 'time'.
    Richiesto: Sì
  • () site_id The site ID to count users for.
    Richiesto: Sì
Definito a:
Codex:

Filters the user count before queries are run.

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




Sorgenti

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