WPDev.one
Core Function
View Source on Trac ↗

get_taxonomy()

get_taxonomy( mixed $taxonomy )

Retrieves the taxonomy object of $taxonomy.

Parameters 1 required

Name / Type Description
$taxonomy
string

Name of taxonomy object to return.

Required

Return Value

((WP_Taxonomy)
| false) The taxonomy object or false if $taxonomy doesn't exist.

Function Information

Since Version
2.3.0
Source File
wp-includes/taxonomy.php
Advertisement