the_category_rss WordPress Filter Hook
The the_category_rss WordPress hook is called when fetching data for a category RSS feed. This hook can be used to modify the data before it is returned.
apply_filters( 'the_category_rss', string $the_list , string $type ) #
Filters all of the post categories for display in a feed.
Parameters
- $the_list
(string)All of the RSS post categories.
- $type
(string)Type of feed. Possible values include 'rss2', 'atom'. Default 'rss2'.
Source
File: wp-includes/feed.php
Changelog
Version | Description |
---|---|
1.2.0 | Introduced. |