get_language_attributes


get_language_attributes ( $doctype = 'html' )

Parameters:
  • (string) doctype Optional. The type of HTML document. Accepts 'xhtml' or 'html'. Default 'html'.
Returns:
  • (string) A space-separated list of language attributes.
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, wp_get_loading_optimization_attributes, get_admin_page_title, get_page_statuses

Top Google Results

User discussions

wpseek mobile