wpseek.com
A WordPress-centric search engine for devs and theme authors



feed_links_extra_show_post_comments_feed › WordPress Filter Hooks

Since6.1.0
Deprecatedn/a
apply_filters( 'feed_links_extra_show_post_comments_feed', $show_comments_feed )
Parameters:
  • (bool) $show_comments_feed Whether to display the post comments feed link. Defaults to the {@see 'feed_links_show_comments_feed'} filter result.
    Required: Yes
Defined at:
Codex:

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.





Source

$show_post_comments_feed = apply_filters( 'feed_links_extra_show_post_comments_feed', $show_comments_feed );