WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about update_post_term_count_statuses

Back to home

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.