On this page
apply_filters( 'language_attributes', string $output, string $doctype )
Filters the language attributes for display in the ‘html’ tag.
Parameters
$outputstring-
A space-separated list of language attributes.
$doctypestring-
The type of HTML document (
xhtml|html).
Source
File: wp-includes/general-template.php. View all references
return apply_filters( 'language_attributes', $output, $doctype );
Related
Used By
| Used By | Description |
|---|---|
| get_language_attributes() wp-includes/general-template.php | Gets the language attributes for the ‘html’ tag. |
Changelog
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/language_attributes