taxonomy_exists


taxonomy_exists ( $taxonomy )

Parameters:
  • (string) taxonomy Name of taxonomy object.
Returns:
  • (bool) Whether the taxonomy exists.
Defined at:

Description

Determines whether the taxonomy name exists.Formerly is_taxonomy(), introduced in 2.3.0. For more information on this and similar theme functions, check out the [Conditional Tags](https://developer.wordpress.org/themes/basics/conditional-tags/) article in the Theme Developer Handbook.

Related Functions

tag_exists, term_exists, category_exists, get_taxonomy_labels, post_exists

Top Google Results

User discussions

wpseek mobile