the_category_rss() WordPress Function

The the_category_rss() function is used to display the RSS feed for the current category. This function can be used in conjunction with the WordPress loop.

the_category_rss( string $type = null ) #

Display the post categories in the feed.


Description

Top ↑

See also


Top ↑

Parameters

$type

(string)(Optional) default is the type returned by get_default_feed().

Default value: null


Top ↑

Source

File: wp-includes/feed.php

function the_category_rss( $type = null ) {
	echo get_the_category_rss( $type );
}


Top ↑

Changelog

Changelog
VersionDescription
0.71Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.