media_upload_default_type

最后更新于:2021-11-27 07:45:28

apply_filters( ‘media_upload_default_type’, string $type )

Filters the default media upload type in the legacy (pre-3.5.0) media popup.

参数

$type

(string)
The default media upload type. Possible values include ‘image’, ‘audio’, ‘video’, ‘file’, etc. Default ‘file’.

源文件

文件: gc-admin/media-upload.php

View on Trac