WordPress.org

Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/do feed rss2

Description

Load either the RSS2 comment feed or the RSS2 posts feed.

Usage

<?php do_feed_rss2$for_comments ?>

Parameters

$for_comments
(boolean) (required) true for the comment feed, false for normal feed.
Default: None

Return Values

(void) 
This function does not return a value.

Examples

Notes

Change Log

Since: 2.1.0

Source File

do_feed_rss2() is located in wp-includes/functions.php.

Related

See also index of Function Reference and index of Template Tags.