taxonomy_feed_link

FILTER wp-includes\link-template.php (ligne 1004) github
Filters the feed link for a taxonomy other than 'category' or 'post_tag'.

Paramètres

Entrée :
$link, $feed, $taxonomy
Sortie :
@param string $link     The taxonomy feed link.
@param string $feed     Feed type. Possible values include 'rss2', 'atom'.
@param string $taxonomy The taxonomy name.

Utilisation

// Modifier la valeur avec le filtre 'taxonomy_feed_link'
add_filter('taxonomy_feed_link', 'ma_fonction_filtre', 10, 1);

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

Actualités

Chargement des actualités...