wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



feed_links_extra_show_post_comments_feed › WordPress Filter Hooks

Seit6.1.0
Veraltetn/v
apply_filters( 'feed_links_extra_show_post_comments_feed', $show_comments_feed )
Parameter:
  • (bool) $show_comments_feed Whether to display the post comments feed link. Defaults to the {@see 'feed_links_show_comments_feed'} filter result.
    Erforderlich: Ja
Definiert in:
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.





Quellcode

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