wpseek.com
WordPress开发者和主题制作者的搜索引擎



language_attributes › WordPress过滤钩子

Since4.3.0
已弃用n/a
apply_filters( 'language_attributes', $output, $doctype )
参数: (2)
  • (string) $output A space-separated list of language attributes.
    Required: Yes
  • (string) $doctype The type of HTML document (xhtml|html).
    Required: Yes
定义在:
文档:

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





源码

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