Filter hook 'language_attributes'

in WP Core File wp-includes/general-template.php at line 4386

Description

Filters the language attributes for display in the 'html' tag.

Occurrences

Filename Line Number
wp-includes/general-template.php 4386

Parameters

Type Name Description
string $output A space-separated list of language attributes.
string $doctype The type of HTML document (xhtml|html).

PHP Doc

/**
	 * Filters the language attributes for display in the 'html' tag.
	 *
	 * @since 2.5.0
	 * @since 4.3.0 Added the `$doctype` parameter.
	 *
	 * @param string $output A space-separated list of language attributes.
	 * @param string $doctype The type of HTML document (xhtml|html).
	 */