wp_image_editor_supports( string|array $args = array() )

Tests whether there is an editor that supports a given mime type or methods.

Description Description

Parameters Parameters


(string|array) (Optional) Array of arguments to retrieve the image editor supports.

Default value: array()

Top ↑

Return Return

(bool) True if an eligible editor is found; false otherwise.

Top ↑

Source Source

File: wp-includes/media.php

function wp_image_editor_supports( $args = array() ) {
	return (bool) _wp_image_editor_choose( $args );

Top ↑

Changelog Changelog

Version Description
3.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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