feed_links_show_comments_feed filter-hookWP 4.4.0

Filters whether to display the comments feed link.

Usage

add_filter( 'feed_links_show_comments_feed', 'wp_kama_feed_links_show_comments_filter' );

/**
 * Function for `feed_links_show_comments_feed` filter-hook.
 * 
 * @param bool $show Whether to display the comments feed link.
 *
 * @return bool
 */
function wp_kama_feed_links_show_comments_filter( $show ){

	// filter...
	return $show;
}
$show(true|false)
Whether to display the comments feed link.
Default: true

Changelog

Since 4.4.0 Introduced.

Where the hook is called

feed_links()
feed_links_show_comments_feed
feed_links_extra()
feed_links_show_comments_feed
wp-includes/general-template.php 3131
if ( apply_filters( 'feed_links_show_comments_feed', true ) ) {
wp-includes/general-template.php 3175
$show_comments_feed = apply_filters( 'feed_links_show_comments_feed', true );

Where the hook is used in WordPress

Usage not found.