Filters the labels of a specific taxonomy. The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug. Possible hook names include: - `taxonomy_labels_category` - `taxonomy_labels_post_tag`
$labels
Sortie :
@param object $labels Object with labels for the taxonomy as member variables.
// Modifier la valeur avec le filtre 'taxonomy_labels_{$taxonomy}'
add_filter('taxonomy_labels_{$taxonomy}', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($labels) {
// Modifier la valeur
return $labels;
}
Chargement des actualités...