Un motore di ricerca WordPress per sviluppatori e autori di temi



language_attributes ›

Da2.1.0
Deprecaton/a
language_attributes ( $doctype = 'html' )
Parametri:
  • (string) $doctype Optional. The type of html document. Accepts 'xhtml' or 'html'. Default 'html'.
    Richiesto: No
    Default: 'html'
Definito a:
Codex:
ChangeLog:
  • 4.3.0

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.



Sorgenti

function language_attributes( $doctype = 'html' ) {
	echo get_language_attributes( $doctype );
}