根据博客设置显示HTML类型。
原型
html_type_rss()
描述
两个可能的值是’xhtml’或’html’。
源文件
路径:wp-includes/feed.php
<?php
...
function html_type_rss() {
$type = get_bloginfo('html_type');
if (strpos($type, 'xhtml') !== false)
$type = 'xhtml';
else
$type = 'html';
echo $type;
}
...
?>
其他
英文文档:https://developer.wordpress.org/reference/functions/html_type_rss/