On this page
apply_filters( "taxonomy_labels_{$taxonomy}", object $labels )
Filters the labels of a specific taxonomy.
Description
The dynamic portion of the hook name, $taxonomy, refers to the taxonomy slug.
Possible hook names include:
taxonomy_labels_categorytaxonomy_labels_post_tag
See also
- get_taxonomy_labels() : for the full list of taxonomy labels.
Parameters
$labelsobject-
Object with labels for the taxonomy as member variables.
Source
File: wp-includes/taxonomy.php. View all references
$labels = apply_filters( "taxonomy_labels_{$taxonomy}", $labels );
Related
Used By
| Used By | Description |
|---|---|
| get_taxonomy_labels() wp-includes/taxonomy.php | Builds an object with all taxonomy labels out of a taxonomy object. |
Changelog
| Version | Description |
|---|---|
| 4.4.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/taxonomy_labels_taxonomy