WordPress at a glance
filter is not described

post_comments_link filter-hook . WP 2.7.0

Filters the formatted post comments link HTML.


add_filter( 'post_comments_link', 'filter_function_name_2606', 10, 2 );
function filter_function_name_2606( $formatted, $post ){
	// filter...

	return $formatted;
The HTML-formatted post comments link.
The post ID or WP_Post object.

Where the hook is called

wp-includes/comment-template.php 1760
return apply_filters( 'post_comments_link', $formatted_link, $post );

Where the hook is used (in WP core)

Does not used.