image_size_input_fields()
image_size_input_fields( WP_Post $post, bool|string $check = ” )
在选中指定单选按钮的情况下检索大小单选按钮的HTML。
Retrieve HTML for the size radio buttons with the specified one checked.
参数(Parameters)
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
$post | (WP_Post) | 必需 | |
$check | (bool | string) | 可选 |
返回(Return)
(array)
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
2.7.0 | wp-admin/includes/media.php:1133 | 1 function | 6 |
image_size_input_fields() 为WP2原创文章,链接:https://www.wp2.cn/functions/image_size_input_fields/