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:

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.

Related Functions

get_taxonomies, is_taxonomy, get_taxonomy_labels, register_taxonomy, get_taxonomy_template

Top Google Results

User discussions

wpseek mobile