Filters whether to display the post comments feed link.
Description
This filter allows to enable or disable the feed link for a singular post in a way that is independent of ‘feed_links_show_comments_feed’ (which controls the global comments feed). The result of that filter is accepted as a parameter.
Parameters
$show_comments_feed
bool- Whether to display the post comments feed link. Defaults to the 'feed_links_show_comments_feed' filter result.
Source
$show_post_comments_feed = apply_filters( 'feed_links_extra_show_post_comments_feed', $show_comments_feed );
Changelog
Version | Description |
---|---|
6.1.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.