rss_tag_pre WordPress Action Hook
The rss_tag_pre hook is a Wordpress hook that is called before the RSS feed is generated. This hook can be used to modify the RSS feed before it is generated.
do_action( 'rss_tag_pre', string $context ) #
Fires between the xml and rss tags in a feed.
Contents
Parameters
- $context
(string)Type of feed. Possible values include 'rss2', 'rss2-comments', 'rdf', 'atom', and 'atom-comments'.
Source
Changelog
Version | Description |
---|---|
4.0.0 | Introduced. |