WordPress开发者和主题制作者的搜索引擎



image_editor_default_mime_type ›

Since3.5.0
已弃用n/a
apply_filters( 'image_editor_default_mime_type', $this->default_mime_type )
参数:
  • (string) $mime_type Mime type string.
    Required: Yes
查看:
  • wp_get_mime_types()
定义在:
文档:

Filters default mime type prior to getting the file extension.





源码

$mime_type = apply_filters( 'image_editor_default_mime_type', $this->default_mime_type );