post_comments_feed_link_html

FILTER wp-includes\link-template.php (ligne 854) github
Filters the post comment feed link anchor tag.

Paramètres

Entrée :
$link, $post_id, $feed
Sortie :
@param string $link    The complete anchor tag for the comment feed link.
@param int    $post_id Post ID.
@param string $feed    The feed type. Possible values include 'rss2', 'atom',

Utilisation

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

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

Actualités

Chargement des actualités...