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

Filters the language attributes for display in the html tag.

Description Description

Parameters Parameters


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


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

Top ↑

Source Source

File: wp-includes/general-template.php

View on Trac

Top ↑

Changelog Changelog

Version Description
4.3.0 Added the $doctype parameter.
2.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.