wordpress / latest / hooks / taxonomy_labels_taxonomy.html

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

Parameters

$labels object
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 );

Used By

Used By Description

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