过滤特定Feed类型的内容类型。
原型
apply_filters( 'feed_content_type', string $content_type, string $type )
参数
$content_type
(string)
内容类型,指示Feed包含的数据类型。
$type
(string)
饲料类型。可能的值包括’rss’,rss2’,‘atom’和’rdf’。
源文件
路径:wp-includes/feed.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/feed_content_type/