post_comments_feed_link_html WordPress Filter Hook
This hook is used to display the post comments feed link HTML in the WordPress admin. It is called by the wp_admin_bar_comments_menu() function.
apply_filters( 'post_comments_feed_link_html', string $link , int $post_id , string $feed ) #
Filters the post comment feed link anchor tag.
Parameters
- $link
(string)The complete anchor tag for the comment feed link.
- $post_id
(int)Post ID.
- $feed
(string)The feed type. Possible values include 'rss2', 'atom', or an empty string for the default feed type.
Source
Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |