On this page
apply_filters( 'post_comments_feed_link_html', string $link, int $post_id, string $feed )
Filters the post comment feed link anchor tag.
Parameters
$linkstring-
The complete anchor tag for the comment feed link.
$post_idint-
Post ID.
$feedstring-
The feed type. Possible values include
'rss2','atom', or an empty string for the default feed type.
Source
File: wp-includes/link-template.php. View all references
echo apply_filters( 'post_comments_feed_link_html', $link, $post_id, $feed );
Related
Used By
| Used By | Description |
|---|---|
| post_comments_feed_link() wp-includes/link-template.php | Displays the comment feed link for a post. |
Changelog
| Version | Description |
|---|---|
| 2.8.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/post_comments_feed_link_html