media_upload_type_form()
media_upload_type_form( string $type = ‘file’, object $errors = null, integer $id = null )
输出给定媒体类型的旧媒体上载表单。
Outputs the legacy media upload form for a given media type.
参数(Parameters)
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
$type | (string) | 可选 | |
$errors | (object) | 可选 | |
$id | (integer) | 可选 |
返回(Return)
无返回值
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
2.5.0 | wp-admin/includes/media.php:2278 | 0 | 15 |
media_upload_type_form() 为WP2原创文章,链接:https://www.wp2.cn/functions/media_upload_type_form/