is_taxonomy( string $taxonomy ): bool

This function has been deprecated. Use taxonomy_exists() instead.

Checks that the taxonomy name exists.

Description

See also

Parameters

$taxonomystringrequired
Name of taxonomy object

Return

bool Whether the taxonomy exists.

Source

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

Changelog

VersionDescription
3.0.0Use taxonomy_exists()
2.3.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.