image_link_input_fields()
image_link_input_fields( WP_Post $post, string $url_type = ” )
使用指定的默认链接类型检索链接URL按钮的HTML。
Retrieve HTML for the Link URL buttons with the default link type as specified.
参数(Parameters)
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
$post | (WP_Post) | 必需 | |
$url_type | (string) | 可选 |
返回(Return)
(string)
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
2.7.0 | wp-admin/includes/media.php:1211 | 1 function | 5 |
image_link_input_fields() 为WP2原创文章,链接:https://www.wp2.cn/functions/image_link_input_fields/