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



default_feed › WordPress Filter Hooks

Since2.5.0
Deprecatedn/a
apply_filters( 'default_feed', 'rss2' )
Parameters:
  • (string) $feed_type Type of default feed. Possible values include 'rss2', 'atom'. Default 'rss2'.
    Required: Yes
Defined at:
Codex:

Filters the default feed type.





Source

$default_feed = apply_filters( 'default_feed', 'rss2' );