WP_Image_Editor::supports_mime_type()public staticWP 3.5.0

Checks to see if editor supports the mime-type specified. Must be overridden in a subclass.

{} It's a 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.

Code of WP_Image_Editor::supports_mime_type() WP 5.9.3

public static function supports_mime_type( $mime_type ) {
	return false;
}