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.


Top ↑

Parameters

$mime_type string Required

Top ↑

Return

bool


Top ↑

Source

File: wp-includes/class-wp-image-editor.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
3.5.0 Introduced.

Top ↑

User Contributed Notes

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