taxonomy_exists

SummerySummery

Determines whether the taxonomy name exists.

Syntax

taxonomy_exists( string $taxonomy )

DescriptionDescription

Formerly is_taxonomy(), introduced in 2.3.0.

For more information on this and similar theme functions, check out the Conditional Tags article in the Theme Developer Handbook.

ParametersParameters

$taxonomy

(string) (Required) Name of taxonomy object.

ReturnReturn

(bool) Whether the taxonomy exists.

SourceSource

File: wp-includes/taxonomy.php


			

ChangelogChangelog

Changelog
Version Description
3.0.0 Introduced.
Scroll to Top