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 values include: ‘rdf’, ‘rss’, ‘rss2’, and ‘atom’.


Parameters

$is_comment_feed

Whether the feed is a comment feed.

$feed

The feed name.


Source

File: wp-includes/functions.php

View on GitHub



Changelog

Changelog
Version Description
WP-4.4.0 The $feed parameter was added.
WP-2.1.0 Introduced.