wpseek.com
A WordPress-centric search engine for devs and theme authors



do_feed_{$feed} › WordPress Action Hooks

Since4.4.0
Deprecatedn/a
do_action( "do_feed_{$feed}", $wp_query->is_comment_feed, $feed )
Parameters: (2)
  • () is_comment_feed Whether the feed is a comment feed.
    Required: Yes
  • () feed The feed name.
    Required: Yes
Defined at:
Codex:

Fires once the given feed is loaded.

The dynamic portion of the hook name, `$feed`, refers to the feed template name. Possible hook names include: - `do_feed_atom` - `do_feed_rdf` - `do_feed_rss` - `do_feed_rss2`




Source

do_action( "do_feed_{$feed}", $wp_query->is_comment_feed, $feed );