W3cubDocs

/WordPress

the_category_rss( string $type = null )

Displays the post categories in the feed.

Description

See also

Parameters

$typestringoptional
Default is the type returned by get_default_feed() .

Default:null

Source

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

Changelog

Version Description
0.71 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/the_category_rss