A WordPress-centric search engine for devs and theme authors



image_editor_default_mime_type ›

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
See:
  • wp_get_mime_types()
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 );