This page redirects to an external site: https://developer.wordpress.org/reference/functions/do_feed_rss2/
Load either the RSS2 comment feed or the RSS2 posts feed.
<code style="color: #000000"><span style="color: #0000BB"><?php do_feed_rss2</span><span style="color: #007700">( </span><span style="color: #0000BB">$for_comments </span><span style="color: #007700">) </span><span style="color: #0000BB">?></span></code>
Since: 2.1.0
do_feed_rss2() is located in wp-includes/functions.php.