The dynamic portion of the hook name, $taxonomy, refers to the taxonomy slug. Possible hook names include: <ul> <li>taxonomy_labels_category</li> <li>taxonomy_labels_post_tag</li> </ul>
Parameters
$labelsobject
Object with labels for the taxonomy as member variables.
743* @since 4.4.0744*745* @see get_taxonomy_labels()for the full list of taxonomy labels.746*747* @param object$labelsObject with labels for the taxonomy as member variables.748*/749$labels=apply_filters("taxonomy_labels_{$taxonomy}",$labels);750751// Ensure that the filtered labels contain all required default values.752$labels=(object)array_merge((array)$default_labels,(array)$labels);753754return$labels;755}
History
Introduced in 4.4.0. Unchanged from 6.7.7 through 7.1.0.