apply_filters( 'feed_links_extra_show_post_comments_feed', bool $show_comments_feed )

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.


Top ↑

Parameters

$show_comments_feed bool
Whether to display the post comments feed link. Defaults to the 'feed_links_show_comments_feed' filter result.

Top ↑

Source

File: wp-includes/general-template.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
6.1.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.