term_{$field}_rss

FILTER wp-includes\taxonomy.php (ligne 1872) github
Filters the term field for use in RSS. The dynamic portion of the hook name, `$field`, refers to the term field.

Paramètres

Entrée :
$value, $taxonomy
Sortie :
@param mixed  $value    Value of the term field.
@param string $taxonomy Taxonomy slug.

Utilisation

// Modifier la valeur avec le filtre 'term_{$field}_rss'
add_filter('term_{$field}_rss', 'ma_fonction_filtre', 10, 1);

function ma_fonction_filtre($value) {
    // Modifier la valeur
    return $value;
}

Actualités

Chargement des actualités...