the_category_rss( string $type = null )

Display the post categories in the feed.

Description

See also

Parameters

$type

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

Default value: null

Source

File: wp-includes/feed.php

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

Changelog

Version Description
0.71 Introduced.

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