Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

is_taxonomy_hierarchical()

3 tags 1 category

is_taxonomy_hierarchical() — Determines whether the taxonomy object is hierarchical. Checks to make sure that the taxonomy is an object first. Then Gets the object, and finally returns the hierarchical value in the object. A false return value might also mean that the taxonomy does not exist. For more information on this and similar theme functions, check out the https://developer.wordpress.org/themes/basics/conditional-tags/ Conditional Tags article in the Theme Developer Handbook.

Inputs: $taxonomy (string): Name of taxonomy object.

Returns bool: Whether the taxonomy is hierarchical.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…