WordPress at a glance
filter is not described

get_comments_link filter-hook . WP 3.6.0

Filters the returned post comments permalink.


add_filter( 'get_comments_link', 'filter_function_name_9639', 10, 2 );
function filter_function_name_9639( $comments_link, $post_id ){
	// filter...

	return $comments_link;
Post comments permalink with '#comments' appended.
Post ID or WP_Post object.

Where the hook is called

wp-includes/comment-template.php 813
return apply_filters( 'get_comments_link', $comments_link, $post_id );

Where the hook is used (in WP core)

Does not used.