wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



do_feed_{$feed} › Les Actions WordPress

Depuis4.4.0
Dépréciéen/a
› do_action( "do_feed_{$feed}", $wp_query->is_comment_feed, $feed )
Paramètres: (2)
  • () is_comment_feed Whether the feed is a comment feed.
    Requis: Oui
  • () feed The feed name.
    Requis: Oui
Défini(e) dans:
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 );