_get_term_hierarchy


_get_term_hierarchy ( $taxonomy )

Access:
  • private
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_template_hierarchy, get_page_hierarchy, get_term_meta, get_term_by, get_term_field

Top Google Results

User discussions

wpseek mobile