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

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

$doctype

(string) 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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

What are you looking for?