get_language_attributes


get_language_attributes ( $doctype = 'html' )

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

Description

Gets 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

language_attributes, the_title_attribute, get_page_statuses, get_admin_page_title, _wp_add_global_attributes

Top Google Results

User discussions

wpseek mobile