wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



do_feed_{$feed} › Działania WordPress Hooks

Od4.4.0
Przestarzałyn/a
› do_action( "do_feed_{$feed}", $wp_query->is_comment_feed, $feed )
Parametry: (2)
  • () is_comment_feed Whether the feed is a comment feed.
    Wymagane: Tak
  • () feed The feed name.
    Wymagane: Tak
Zdefiniowane na:
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`




Źródło

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