apply_filters( 'image_editor_default_mime_type', string $mime_type )

Filters default mime type prior to getting the file extension.


Description

Top ↑

See also


Top ↑

Parameters

$mime_type string
Mime type string.

Top ↑

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 );


Top ↑

Changelog

Changelog
Version Description
3.5.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.