wpseek.com
A WordPress-centric search engine for devs and theme authors



language_attributes › WordPress Filter Hooks

Since4.3.0
Deprecatedn/a
apply_filters( 'language_attributes', $output, $doctype )
Parameters: (2)
  • (string) $output A space-separated list of language attributes.
    Required: Yes
  • (string) $doctype The type of HTML document (xhtml|html).
    Required: Yes
Defined at:
Codex:

Filters the language attributes for display in the 'html' tag.





Source

return apply_filters( 'language_attributes', $output, $doctype );