On this page
the_category_rss( string $type = null )
Displays the post categories in the feed.
Description
See also
- get_the_category_rss() : For better explanation.
Parameters
$typestring Optional-
default is the type returned by get_default_feed() .
Default:
null
Source
File: wp-includes/feed.php. View all references
function the_category_rss( $type = null ) {
echo get_the_category_rss( $type );
}
Related
Uses
| Uses | Description |
|---|---|
| get_the_category_rss() wp-includes/feed.php | Retrieves all of the post categories, formatted for use in feeds. |
Changelog
| Version | Description |
|---|---|
| 0.71 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/the_category_rss