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_category
taxonomy_labels_post_tag
See also
- get_taxonomy_labels(): for the full list of taxonomy labels.
Parameters
- $labels
-
(object) Object with labels for the taxonomy as member variables.
Source
File: wp-includes/taxonomy.php
Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/taxonomy_labels_taxonomy