wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



language_attributes › WordPress Function

Desde2.1.0
Obsoleton/a
language_attributes ( $doctype = 'html' )
Parâmetros:
  • (string) $doctype Optional. The type of HTML document. Accepts 'xhtml' or 'html'. Default 'html'.
    Required: No
    Padrão: 'html'
Definido em:
Codex:
Log de mudanças:
  • 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.


Fonte

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