wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



feed_links_extra_show_post_comments_feed › Hooks de Filtros WordPress

Desde6.1.0
Obsoleton/a
apply_filters( 'feed_links_extra_show_post_comments_feed', $show_comments_feed )
Parâmetros:
  • (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
Definido em:
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.





Fonte

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