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



feed_content_type › WordPress Filter Hooks

Since2.8.0
Deprecatedn/a
apply_filters( 'feed_content_type', $content_type, $type )
Parameters: (2)
  • (string) $content_type Content type indicating the type of data that a feed contains.
    Required: Yes
  • (string) $type Type of feed. Possible values include 'rss', rss2', 'atom', and 'rdf'.
    Required: Yes
Defined at:
Codex:

Filters the content type for a specific feed type.





Source

return apply_filters( 'feed_content_type', $content_type, $type );