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



update_post_term_count_statuses › WordPress Filter Hooks

Da5.7.0
Deprecaton/a
apply_filters( 'update_post_term_count_statuses', $post_statuses, $taxonomy )
Parametri: (2)
  • (string[]) $post_statuses List of post statuses to include in the count. Default is 'publish'.
    Richiesto:
  • (WP_Taxonomy) $taxonomy Current taxonomy object.
    Richiesto:
Definito a:
Codex:

Filters the post statuses for updating the term count.





Sorgenti

$post_statuses = esc_sql( apply_filters( 'update_post_term_count_statuses', $post_statuses, $taxonomy ) );