html_type_rss

Advertisement

Summery Summery

Display the HTML type based on the blog setting.

Syntax Syntax

html_type_rss()

Description Description

The two possible values are either ‘xhtml’ or ‘html’.

Source Source

File: wp-includes/feed.php

 *
 * The two possible values are either 'xhtml' or 'html'.
 *
 * @since 2.2.0
 */
function html_type_rss() {
	$type = get_bloginfo( 'html_type' );
	if ( strpos( $type, 'xhtml' ) !== false ) {
		$type = 'xhtml';

Advertisement

Changelog Changelog

Changelog
Version Description
2.2.0 Introduced.

Advertisement

Leave a Reply