feed_links_show_posts_feed filter-hookWP 4.4.0

Filters whether to display the posts feed link.

Usage

add_filter( 'feed_links_show_posts_feed', 'wp_kama_feed_links_show_posts_filter' );

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

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

Changelog

Since 4.4.0 Introduced.

Where the hook is called

feed_links()
feed_links_show_posts_feed
wp-includes/general-template.php 3115
if ( apply_filters( 'feed_links_show_posts_feed', true ) ) {

Where the hook is used in WordPress

Usage not found.