feed_links_show_posts_feed

feed_links_show_posts_feed

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.1

do_action('feed_links_show_posts_feed') is found 1 times:

  • /wp-includes/general-template.php line 3138
    	 * @since 4.4.0
    	 *
    	 * @param bool $show Whether to display the posts feed link. Default true.
    	 */
    	if ( apply_filters( 'feed_links_show_posts_feed', true ) ) {
    		printf(
    			'<link rel="alternate" type="%s" title="%s" href="%s" />' . "\n",
    			feed_content_type(),
    			esc_attr( sprintf( $args['feedtitle'], get_bloginfo( 'name' ), $args['separator'] ) ),
    			esc_url( get_feed_link() )
    		);
    

See this hook used in plugins: