On this page
do_action( "do_feed_{$feed}", bool $is_comment_feed, string $feed )
Fires once the given feed is loaded.
Description
The dynamic portion of the hook name, $feed, refers to the feed template name.
Possible hook names include:
do_feed_atomdo_feed_rdfdo_feed_rssdo_feed_rss2
Parameters
$is_comment_feedbool-
Whether the feed is a comment feed.
$feedstring-
The feed name.
Source
File: wp-includes/functions.php. View all references
do_action( "do_feed_{$feed}", $wp_query->is_comment_feed, $feed );
Related
Used By
| Used By | Description |
|---|---|
| do_feed() wp-includes/functions.php | Loads the feed template from the use of an action hook. |
Changelog
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/do_feed_feed