Filters the language attributes for display in the 'html' tag.
$outputstring$doctypestringwp-includes/general-template.php:4568get_language_attributes() * @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). */ return apply_filters( 'language_attributes', $output, $doctype );} /** * Displays the language attributes for the 'html' tag. * * Builds up a set of HTML attributes containing the text direction and languageIntroduced in 2.5.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.