taxonomy_labels_{$taxonomy}

FILTER wp-includes\taxonomy.php (ligne 749) github
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`

Paramètres

Entrée :
$labels
Sortie :
@param object $labels Object with labels for the taxonomy as member variables.

Utilisation

// 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;
}

Actualités

Chargement des actualités...