{$taxonomy}_{$field}_rss

FILTER wp-includes\taxonomy.php (ligne 1884) github
Filters the taxonomy field for use in RSS. The dynamic portions of the hook name, `$taxonomy`, and `$field`, refer to the taxonomy slug and field name, respectively.

Paramètres

Entrée :
$value
Sortie :
@param mixed $value Value of the taxonomy field.

Utilisation

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

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

Actualités

Chargement des actualités...