_update_post_term_count

Private AccessPrivate Access

This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

SummerySummery

Will update term count based on object types of the current taxonomy.

Syntax

_update_post_term_count( int[] $terms, WP_Taxonomy $taxonomy )

DescriptionDescription

Private function for the default callback for post_tag and category taxonomies.

ParametersParameters

$terms

(int[]) (Required) List of Term taxonomy IDs.

$taxonomy

(WP_Taxonomy) (Required) Current taxonomy object of terms.

SourceSource

File: wp-includes/taxonomy.php


			

ChangelogChangelog

Changelog
Version Description
2.3.0 Introduced.
Scroll to Top