apply_filters( ‘post_comments_link’, string $post_reply_link, int|WP_Post $post )

In this article

Filters the formatted post comments link HTML.

Parameters

$post_reply_linkstring
The HTML-formatted post comments link.
$postint|WP_Post
The post ID or WP_Post object.

Source

return apply_filters( 'post_comments_link', $post_reply_link, $post );

Changelog

VersionDescription
2.7.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.