WP_Image_Editor::supports_mime_type( string $mime_type ): bool

Checks to see if editor supports the mime-type specified.

Description

Must be overridden in a subclass.

Parameters

$mime_typestringrequired

Return

bool

Source

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

Changelog

VersionDescription
3.5.0Introduced.

User Contributed Notes

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