在获取文件扩展名之前过滤默认的mime类型。
原型
apply_filters( 'image_editor_default_mime_type', string $mime_type )
参数
$mime_type
(string)
Mime类型字符串。
源文件
路径:wp-includes/class-wp-image-editor.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/image_editor_default_mime_type/