html_type_rss()WP 2.2.0

Displays the HTML type based on the blog setting.

The two possible values are either 'xhtml' or 'html'.

Хуков нет.

Возвращает

null. Ничего.

Использование

html_type_rss();

Список изменений

С версии 2.2.0 Введена.

Код html_type_rss() WP 6.2.2

function html_type_rss() {
	$type = get_bloginfo( 'html_type' );
	if ( strpos( $type, 'xhtml' ) !== false ) {
		$type = 'xhtml';
	} else {
		$type = 'html';
	}
	echo $type;
}