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.

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() code WP 6.5.2

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