A WordPress-centric search engine for devs and theme authors



is_taxonomy ›

Since2.3.0
Deprecated3.0.0
is_taxonomy ( $taxonomy )
Parameters:
  • (string) $taxonomy Name of taxonomy object
    Required: Yes
See:
Returns:
  • (bool) Whether the taxonomy exists.
Defined at:
Codex:

Checks that the taxonomy name exists.



Source

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