get_comments_link WordPress Filter Hook
The get_comments_link hook is used to display a link to the comments for a post. This hook is used by the default WordPress comments template.
apply_filters( 'get_comments_link', string $comments_link , int|WP_Post $post_id ) #
Filters the returned post comments permalink.
Parameters
Source
Changelog
Version | Description |
---|---|
3.6.0 | Introduced. |