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'.


Top ↑

Source

File: wp-includes/feed.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
1.2.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.