Filters the returned post comments permalink.
$comments_linkstring$postint|WP_Postwp-includes/comment-template.php:889get_comments_link() * * @since 3.6.0 * * @param string $comments_link Post comments permalink with '#comments' appended. * @param int|WP_Post $post Post ID or WP_Post object. */ return apply_filters( 'get_comments_link', $comments_link, $post );} /** * Displays the link to the current post comments. * * @since 0.71Introduced in 3.6.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.