language_attributes()
最后更新于:2021-11-27 12:49:05
language_attributes( string$doctype=’html’)Displays the language attributes for the ‘html’ tag.
参数
- $doctype
-
(string) (Optional) The type of HTML document. Accepts ‘xhtml’ or ‘html’.
Default value: ‘html’
源文件
文件: gc-includes/general-template.php
function language_attributes( $doctype = 'html' ) {
echo get_language_attributes( $doctype );
}