default_feed

default_feed

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('default_feed') is found 1 times:

  • /wp-includes/feed.php line 89
    	 *
    	 * @param string $feed_type Type of default feed. Possible values include 'rss2', 'atom'.
    	 *                          Default 'rss2'.
    	 */
    	$default_feed = apply_filters( 'default_feed', 'rss2' );
    
    	return ( 'rss' === $default_feed ) ? 'rss2' : $default_feed;
    }
    
    /**
     * Retrieves the blog title for the feed title.