do_action( "do_feed_{$feed}", bool $is_comment_feed, string $feed )

Fires once the given feed is loaded.


Description Description

The dynamic portion of the hook name, $feed, refers to the feed template name. Possible values include: ‘rdf’, ‘rss’, ‘rss2’, and ‘atom’.


Top ↑

Parameters Parameters

$is_comment_feed

(bool) Whether the feed is a comment feed.

$feed

(string) The feed name.


Top ↑

Source Source

File: wp-includes/functions.php

View on Trac



Top ↑

Changelog Changelog

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

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.