首页 WordPress函数大全 get_language_attributes()

get_language_attributes()

2020-05-01 / 3789阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

get_language_attributes( string $doctype = 'html' )

Gets the language attributes for the html tag.

描述

Builds up a set of html attributes containing the text direction and language information for the page.

参数

$doctype

(string)
(Optional)
The type of html document. Accepts 'xhtml' or 'html'.

Default value: 'html'

大家谈论
    我的见解