Filters the formatted post comments link HTML.
$post_reply_link, $post
Sortie :
@param string $post_reply_link The HTML-formatted post comments link. @param int|WP_Post $post The post ID or WP_Post object.
// Modifier la valeur avec le filtre 'post_comments_link'
add_filter('post_comments_link', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($post_reply_link) {
// Modifier la valeur
return $post_reply_link;
}
Chargement des actualités...