wpseek.com
A WordPress-centric search engine for devs and theme authors



image_editor_default_mime_type › WordPress Filter Hooks

Since3.5.0
Deprecatedn/a
apply_filters( 'image_editor_default_mime_type', $this->default_mime_type )
Parameters:
  • (string) $mime_type Mime type string.
    Required: Yes
Defined at:
Codex:

Filters default mime type prior to getting the file extension.





Source

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