image_editor_default_mime_type WordPress Filter Hook
The image_editor_default_mime_type Wordpress hook allows you to specify the default image editor for a particular image type. This can be useful if you want to use a different image editor for a specific image type, or if you want to use a different image editor for all images.
apply_filters( 'image_editor_default_mime_type', string $mime_type ) #
Filters default mime type prior to getting the file extension.
Description
See also
Parameters
- $mime_type
(string)Mime type string.
Source
Changelog
| Version | Description |
|---|---|
| 3.5.0 | Introduced. |