get_the_category_rss ( $type = null )
- (string) type Optional, default is the type returned by get_default_feed().
- (string) All of the post categories for displaying in the feed.
- Introduced in WordPress: 2.1.0
- Deprecated in WordPress: —
Retrieves all of the post categories, formatted for use in feeds.All of the categories for the current post in the feed loop, will be
retrieved and have feed markup added, so that they can easily be added to the
RSS2, Atom, or RSS1 and RSS0.91 RDF feeds.