函数原型
html_type_rss()
函数描述
Displays the HTML type based on the blog setting.
是否弃用
未弃用
函数参数
无
函数返回值
无
函数位置
File: wp-includes/feed.php.
函数源码
function html_type_rss() {
$type = get_bloginfo( 'html_type' );
if ( strpos( $type, 'xhtml' ) !== false ) {
$type = 'xhtml';
} else {
$type = 'html';
}
echo $type;
}
源码链接
变更日志
| Version | Description |
|---|---|
| 2.2.0 | Introduced. |

