_update_post_term_count


_update_post_term_count ( $terms, $taxonomy )

Access:
  • private
Parameters:
  • (int[]) terms List of term taxonomy IDs.
  • (WP_Taxonomy) taxonomy Current taxonomy object of terms.
Defined at:

Description

Updates term count based on object types of the current taxonomy.Private function for the default callback for post_tag and category taxonomies.

Related Functions

wp_update_term_count, update_posts_count, _update_generic_term_count, wp_update_term_count_now, wp_update_user_counts

Top Google Results

User discussions

wpseek mobile