do_action( 'rss_tag_pre', string $context )

Fires between the xml and rss tags in a feed.


Parameters

$context

(string) Type of feed. Possible values include 'rss2', 'rss2-comments', 'rdf', 'atom', and 'atom-comments'.


Source

File: wp-includes/feed-rss2.php

View on GitHub


Changelog

Changelog
Version Description
WP-4.0.0 Introduced.