Uma área de pesquisa sobre o WordPress para devs e autores do tema



feed_content_type ›

Desde2.8.0
Obsoleton/a
apply_filters( 'feed_content_type', $content_type, $type )
Parâmetros: (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
Definido em:
Codex:

Filters the content type for a specific feed type.





Fonte

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