Summery Summery

Retrieve all of the post categories, formatted for use in feeds.

Syntax Syntax

get_the_category_rss( string $type = null )

Description Description

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.

Parameters Parameters


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

Default value: null

Return Return

(string) All of the post categories for displaying in the feed.

Source Source

File: wp-includes/feed.php



Changelog Changelog

Version Description
2.1.0 Introduced.


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.