WordPress开发者和主题制作者的搜索引擎



feed_content_type ›

Since2.8.0
已弃用n/a
apply_filters( 'feed_content_type', $content_type, $type )
参数: (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
定义在:
文档:

Filters the content type for a specific feed type.





源码

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