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
$labels = apply_filters( "taxonomy_labels_{$taxonomy}", $labels );
Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.