language_attributes

language_attributes

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('language_attributes') is found 1 times:

  • /wp-includes/general-template.php line 4403
    4399
    4400
    4401
    4402
    4403
    4404
    4405
    4406
    4407
    4408
    4409
         *
         * @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 language

See this hook used in plugins: