Un motore di ricerca WordPress per sviluppatori e autori di temi



do_feed_{$feed} ›

Da4.4.0
Deprecaton/a
do_action( "do_feed_{$feed}", $wp_query->is_comment_feed, $feed )
Parametri: (2)
  • (bool) $is_comment_feed Whether the feed is a comment feed.
    Richiesto:
  • (string) $feed The feed name.
    Richiesto:
Definito a:
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'.





Sorgenti

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