wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



feed_links_extra_show_post_comments_feed › Les Filtres WordPress

Depuis6.1.0
Dépréciéen/a
apply_filters( 'feed_links_extra_show_post_comments_feed', $show_comments_feed )
Paramètres:
  • (bool) $show_comments_feed Whether to display the post comments feed link. Defaults to the {@see 'feed_links_show_comments_feed'} filter result.
    Requis: Oui
Défini(e) dans:
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 );