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
File: wp-includes/class-wp-image-editor.php
.
View all references
$mime_type = apply_filters( 'image_editor_default_mime_type', $this->default_mime_type );
Changelog
Version | Description |
---|---|
3.5.0 | Introduced. |