readonly()

输出html只读属性。

readonly( mixed $readonly , mixed $current = true, bool $echo = true )

说明(Description)

比较前两个参数,如果相同的标记为只读


参数(Parameters)

参数类型必填说明
$readonly(mixed)必需要比较的值之一
$current(mixed)可选(true)要比较的另一个值(如果不只是true)
$echo(bool)可选是回显还是返回字符串

返回(Return)

(string)html属性或空string

更新版本源码位置使用被使用
4.9.0wp-includes/general-template.php:468601 function
0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索