WPDev.one
Core Function
View Source on Trac ↗

_pad_term_counts()

_pad_term_counts( mixed $terms, mixed $taxonomy )

Adds count of children to parent count.

Parameters 2 required

Name / Type Description
(object[]

| WP_Term[]) $terms List of term objects (passed by reference).

Required
$taxonomy
string

Term context.

Required

Return Value

(void)
No return value description available.

Function Information

Since Version
2.3.0
Source File
wp-includes/taxonomy.php
Advertisement