WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about language_attributes

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/general-template.php apply_filters 4372 /**
* 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).
*/

Hook Parameters

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