Filters the returned single comment permalink.
$post = 0
Sortie :
@param string $comment_link The comment permalink with '#comment-$id' appended. @param WP_Comment $comment The current comment object. @param array $args An array of arguments to override the defaults. @param int $cpage The calculated 'cpage' value. @param int|WP_Post $post Optional. Post ID or WP_Post object. Default is global $post. @return string The link to the comments.
// Utilisation de la fonction get_comments_link
$result = get_comments_link($post = 0);
if ($result) {
// Votre logique ici
}
Chargement des actualités...