language_attributes

Advertisement

Summery Summery

Filters the language attributes for display in the html tag.

Syntax Syntax

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

Parameters Parameters

$output

A space-separated list of language attributes.

$doctype

The type of html document (xhtml|html).

Source Source

File: wp-includes/general-template.php

Advertisement

Changelog Changelog

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

Advertisement

Leave a Reply