is_taxonomy

Definition:
function is_taxonomy( $taxonomy ) {}

Checks that the taxonomy name exists.

Parameters

  • string $taxonomy: Name of taxonomy object

Return values

returns:Whether the taxonomy exists.

Source code

function is_taxonomy( $taxonomy ) {

	_deprecated_function( __FUNCTION__, '3.0', 'taxonomy_exists()' );

	return taxonomy_exists( $taxonomy );

}

2203

No comments yet... Be the first to leave a reply!

Leave a comment