WP_Image_Editor::supports_mime_type( string $mime_type )
Checks to see if editor supports the mime-type specified.
Description
Must be overridden in a subclass.
Parameters
- $mime_type
-
(string) (Required)
Return
(bool)
Source
File: wp-includes/class-wp-image-editor.php
public static function supports_mime_type( $mime_type ) {
return false;
} Changelog
| Version | Description |
|---|---|
| 3.5.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_image_editor/supports_mime_type