apply_filters( 'post_comments_link', string $formatted, int|WP_Post $post )

Filters the formatted post comments link HTML.


Parameters

$formatted

(string) The HTML-formatted post comments link.

$post

(int|WP_Post) The post ID or WP_Post object.


Source

File: wp-includes/comment-template.php

View on GitHub



Changelog

Changelog
Version Description
WP-2.7.0 Introduced.