Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/taxonomy.php | apply_filters | 4080 | /** * Filters the post statuses for updating the term count. * * @since 5.7.0 * * @param string[] $post_statuses List of post statuses to include in the count. Default is 'publish'. * @param WP_Taxonomy $taxonomy Current taxonomy object. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
string[] | $post_statuses | List of post statuses to include in the count. Default is 'publish'. |
WP_Taxonomy | $taxonomy | Current taxonomy object. |