wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



language_attributes › WordPress Function

Od2.1.0
Przestarzałyn/a
language_attributes ( $doctype = 'html' )
Parametry:
  • (string) $doctype Optional. The type of HTML document. Accepts 'xhtml' or 'html'. Default 'html'.
    Wymagane: Nie
    Domyślny: 'html'
Zdefiniowane na:
Codex:
Dziennik zmian:
  • 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.


Źródło

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