_get_term_hierarchy

Advertisement

Private Access Private Access

This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Summery Summery

Retrieves children of taxonomy as Term IDs.

Syntax Syntax

_get_term_hierarchy( string $taxonomy )

Parameters Parameters

$taxonomy

(string) (Required) Taxonomy name.

Return Return

(array) Empty if $taxonomy isn't hierarchical or returns children as Term IDs.

Source Source

File: wp-includes/taxonomy.php


			

Advertisement

Changelog Changelog

Changelog
Version Description
2.3.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.