Core Function
View Source on Trac ↗ is_taxonomy_hierarchical()
is_taxonomy_hierarchical( mixed $taxonomy ) Determines whether the taxonomy object is hierarchical.
Parameters 1 required
| Name / Type | Description |
|---|---|
| $taxonomy string | Name of taxonomy object. Required |
Return Value
(bool)
Whether the taxonomy is hierarchical.
Function Information
Since Version
2.3.0
Source File
wp-includes/taxonomy.php
Advertisement