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 {@link https://developer.wordpress.org/themes/basics/conditional-tags/ Conditional Tags} article in the Theme Developer Handbook.

Related Functions

tag_exists, term_exists, category_exists, get_taxonomy_labels, domain_exists

Top Google Results

User discussions

wpseek mobile