language_attributes() – Displays the language attributes for the html tag.

You appear to be a bot. Output may be restricted

Description

Displays the language attributes for the 'html' tag.

Builds up a set of HTML attributes containing the text direction and language information for the page.

Usage

language_attributes( $doctype );

Parameters

$doctype
( string ) optional default: html – Optional. The type of HTML document. Accepts 'xhtml' or 'html'. Default 'html'.

Returns

void

Source

File name: wordpress/wp-includes/general-template.php
Lines:

1 to 3 of 3
function language_attributes( $doctype = 'html' ) {
  echo get_language_attributes( $doctype );
}
 

 View on GitHub View on Trac