get_taxonomy
get_taxonomy ( $taxonomy )
Parameters:- (string) taxonomy Name of taxonomy object to return.
Returns:- (WP_Taxonomy|false) The taxonomy object or false if $taxonomy doesn't exist.
Defined at: - Introduced in WordPress: 2.3.0
- Deprecated in WordPress: —
Description
Retrieves the taxonomy object of $taxonomy.The get_taxonomy function will first check that the parameter string given
is a taxonomy object and if it is, it will return it.