Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



do_feed_{$feed} ›

Seit4.4.0
Veraltetn/v
do_action( "do_feed_{$feed}", $wp_query->is_comment_feed, $feed )
Parameter: (2)
  • (bool) $is_comment_feed Whether the feed is a comment feed.
    Erforderlich: Ja
  • (string) $feed The feed name.
    Erforderlich: Ja
Definiert in:
Codex:

Fires once the given feed is loaded.

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





Quellcode

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