- %1$s is private and should not be used in themes or plugins directly.
_pad_term_counts ( $terms, $taxonomy )
- (object|WP_Term) terms List of term objects (passed by reference).
- (string) taxonomy Term context.
- Introduced in WordPress: 2.3.0
- Deprecated in WordPress: —
Add count of children to parent count.Recalculates term counts by including items from child terms. Assumes all
relevant children are already in the $terms argument.