is_taxonomy()WP 2.3.0

Deprecated from version 3.0.0. It is no longer supported and can be removed in future releases. Use taxonomy_exists() instead.

Checks that the taxonomy name exists.

No Hooks.

Return

true|false. Whether the taxonomy exists.

Usage

is_taxonomy( $taxonomy );
$taxonomy(string) (required)
Name of taxonomy object

Notes

Changelog

Since 2.3.0 Introduced.
Deprecated since 3.0.0 Use taxonomy_exists()

is_taxonomy() code WP 6.5.2

function is_taxonomy( $taxonomy ) {
	_deprecated_function( __FUNCTION__, '3.0.0', 'taxonomy_exists()' );
	return taxonomy_exists( $taxonomy );
}