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

is_taxonomy( string $taxonomy )

Checks that the taxonomy name exists.


Description Description

See also See also


Top ↑

Parameters Parameters

$taxonomy

(string) (Required) Name of taxonomy object


Top ↑

Return Return

(bool) Whether the taxonomy exists.


Top ↑

Source Source

File: wp-includes/deprecated.php

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

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Use taxonomy_exists()
2.3.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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