apply_filters( 'language_attributes', string $output, string $doctype )

Filters the language attributes for display in the html tag.


Parameters

$output

(string) A space-separated list of language attributes.

$doctype

(string) The type of html document (xhtml|html).


Source

File: wp-includes/general-template.php

View on GitHub



Changelog

Changelog
Version Description
WP-4.3.0 Added the $doctype parameter.
WP-2.5.0 Introduced.