On this page
apply_filters( 'get_comments_link', string $comments_link, int|WP_Post $post )
Filters the returned post comments permalink.
Parameters
Source
File: wp-includes/comment-template.php. View all references
return apply_filters( 'get_comments_link', $comments_link, $post );
Related
Used By
| Used By | Description |
|---|---|
| get_comments_link() wp-includes/comment-template.php | Retrieves the link to the current post comments. |
Changelog
| Version | Description |
|---|---|
| 3.6.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/get_comments_link