language_attributes


language_attributes ( $doctype = 'html' )

Parameters:
  • (string) $doctype Optional. The type of html document. Accepts 'xhtml' or 'html'. Default 'html'.
Defined at:
Change Log:
  • 4: .

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.

Related Functions

get_language_attributes, page_attributes_meta_box, _wp_add_global_attributes, the_title_attribute, single_cat_title

Top Google Results

User discussions

wpseek mobile