_get_term_hierarchy


_get_term_hierarchy ( $taxonomy )

Parameters:
  • (string) $taxonomy Taxonomy name.
Returns:
  • (array) Empty if $taxonomy isn't hierarchical or returns children as Term IDs.
Defined at:

Description

Retrieves children of taxonomy as Term IDs.

Related Functions

get_page_hierarchy, get_term_meta, get_term_field, get_term_by, _get_term_children

Top Google Results

User discussions

wpseek mobile