Description
Filters whether to display the post comments feed link. This filter allows to enable or disable the feed link for a singular post in a way that is independent of {@see 'feed_links_show_comments_feed'} (which controls the global comments feed). The result of that filter is accepted as a parameter.
Occurrences
Filename | Line Number |
---|---|
wp-includes/general-template.php | 3205 |
Parameters
Type | Name | Description |
---|---|---|
bool | $show_comments_feed | Whether to display the post comments feed link. Defaults to the {@see 'feed_links_show_comments_feed'} filter result. |
PHP Doc
/**
* Filters whether to display the post comments feed link.
*
* This filter allows to enable or disable the feed link for a singular post
* in a way that is independent of {@see 'feed_links_show_comments_feed'}
* (which controls the global comments feed). The result of that filter
* is accepted as a parameter.
*
* @since 6.1.0
*
* @param bool $show_comments_feed Whether to display the post comments feed link. Defaults to
* the {@see 'feed_links_show_comments_feed'} filter result.
*/