WP_Image_Editor::supports_mime_type()
Checks to see if editor supports the mime-type specified. Must be overridden in a subclass.
Method of the class: WP_Image_Editor{}
No Hooks.
Return
true|false
.
Usage
$result = WP_Image_Editor::supports_mime_type( $mime_type );
- $mime_type(string) (required)
- -
Changelog
Since 3.5.0 | Introduced. |
WP_Image_Editor::supports_mime_type() WP Image Editor::supports mime type code WP 6.6.2
public static function supports_mime_type( $mime_type ) { return false; }