get_language_attributes

Advertisement

Summery Summery

Gets the language attributes for the html tag.

Syntax Syntax

get_language_attributes( string $doctype = 'html' )

Description Description

Builds up a set of html attributes containing the text direction and language information for the page.

Parameters Parameters

$doctype

(string) (Optional) The type of html document. Accepts 'xhtml' or 'html'.

Default value: 'html'

Source Source

File: wp-includes/general-template.php


			

Advertisement

Changelog Changelog

Changelog
Version Description
4.3.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.