_get_term_hierarchy
- %1$s is private and should not be used in themes or plugins directly.
_get_term_hierarchy ( $taxonomy )
Access:Parameters:- (string) taxonomy Taxonomy name.
Returns:- (array) Empty if $taxonomy isn't hierarchical or returns children as term IDs.
Defined at: - Introduced in WordPress: 2.3.0
- Deprecated in WordPress: —
Description
Retrieves children of taxonomy as term IDs.