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

$labelsobject
Object with labels for the taxonomy as member variables.

Source

$labels = apply_filters( "taxonomy_labels_{$taxonomy}", $labels );

Changelog

VersionDescription
4.4.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.