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: - Introduced in WordPress: 4.3.0
- Deprecated in WordPress: —
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.