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



update_post_term_count_statuses › Filtr WordPress Hooks

Od5.7.0
Przestarzałyn/a
apply_filters( 'update_post_term_count_statuses', $post_statuses, $taxonomy )
Parametry: (2)
  • (string[]) $post_statuses List of post statuses to include in the count. Default is 'publish'.
    Wymagane: Tak
  • (WP_Taxonomy) $taxonomy Current taxonomy object.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the post statuses for updating the term count.





Źródło

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