apply_filters( 'update_post_term_count_statuses', string[] $post_statuses, WP_Taxonomy $taxonomy )

Filters the post statuses for updating the term count.


Parameters Parameters

$post_statuses

(string[]) List of post statuses to include in the count. Default is 'publish'.

$taxonomy

(WP_Taxonomy) Current taxonomy object.


Top ↑

Source Source

File: wp-includes/taxonomy.php

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
5.7.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.