在Feed中显示帖子类别。
原型
the_category_rss( string $type = null )
参数
$type
(string)
(Optional)
default是get_default_feed()返回的类型。
源文件
路径:wp-includes/feed.php
<?php
...
function the_category_rss($type = null) {
echo get_the_category_rss($type);
}
...
?>
其他
英文文档:https://developer.wordpress.org/reference/functions/the_category_rss/