
使用XAMPP本地搭建WordPress网站图文教程
apply_filters( 'feed_content_type', $content_type, $type )
feed_content_type – 这个函数为WordPress的feed设置内容类型。内容类型是用来决定馈送在网络浏览器或RSS阅读器中的显示方式。默认情况下,内容类型被设置为 “application/rss+xml”。
过滤特定feed类型的内容类型。
return apply_filters( 'feed_content_type', $content_type, $type );