Un motore di ricerca WordPress per sviluppatori e autori di temi



pre_count_users ›

Da5.1.0
Deprecaton/a
apply_filters( 'pre_count_users', null, $strategy, $site_id )
Parametri: (3)
  • (null|string) $result Default null.
    Richiesto:
  • (string) $strategy Optional. The computational strategy to use when counting the users. Accepts either 'time' or 'memory'. Default 'time'.
    Richiesto:
  • (int|null) $site_id Optional. The site ID to count users for. Defaults to the current site.
    Richiesto:
Definito a:
Codex:

Filter 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 );