Core Function
View Source on Trac ↗ get_taxonomy_labels()
get_taxonomy_labels( mixed $tax ) Builds an object with all taxonomy labels out of a taxonomy object.
Parameters 1 required
| Name / Type | Description |
|---|---|
| $tax WP_Taxonomy | Taxonomy object. Required |
Return Value
(object)
object {
Taxonomy labels object. The first default value is for non-hierarchical taxonomies
(like tags) and the second one is for hierarchical taxonomies (like categories).
Function Information
Since Version
3.0.0
Source File
wp-includes/taxonomy.php
Advertisement