language_attributes

Advertisement

Summery Summery

Displays the language attributes for the html tag.

Syntax Syntax

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

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

Default value: 'html'

Source Source

File: wp-includes/general-template.php

	/**
	 * Filters settings that are passed into the code editor.

Advertisement

Changelog Changelog

Changelog
Version Description
4.3.0 Converted into a wrapper for get_language_attributes().
2.1.0 Introduced.

Advertisement

Leave a Reply