Title: wp_image_editor_supports
Published: April 25, 2014
Last modified: May 20, 2026

---

# wp_image_editor_supports( string|array $args = array() ): bool

## In this article

 * [Parameters](https://developer.wordpress.org/reference/functions/wp_image_editor_supports/?output_format=md#parameters)
 * [Return](https://developer.wordpress.org/reference/functions/wp_image_editor_supports/?output_format=md#return)
 * [Source](https://developer.wordpress.org/reference/functions/wp_image_editor_supports/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/functions/wp_image_editor_supports/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/functions/wp_image_editor_supports/?output_format=md#changelog)
 * [User Contributed Notes](https://developer.wordpress.org/reference/functions/wp_image_editor_supports/?output_format=md#user-contributed-notes)

[ Back to top](https://developer.wordpress.org/reference/functions/wp_image_editor_supports/?output_format=md#wp--skip-link--target)

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

## 󠀁[Parameters](https://developer.wordpress.org/reference/functions/wp_image_editor_supports/?output_format=md#parameters)󠁿

 `$args`string|arrayoptional

Array of arguments to retrieve the image editor supports.

Default:`array()`

## 󠀁[Return](https://developer.wordpress.org/reference/functions/wp_image_editor_supports/?output_format=md#return)󠁿

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

## 󠀁[Source](https://developer.wordpress.org/reference/functions/wp_image_editor_supports/?output_format=md#source)󠁿

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

[View all references](https://developer.wordpress.org/reference/files/wp-includes/media.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/7.0/src/wp-includes/media.php#L4263)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/media.php#L4263-L4265)

## 󠀁[Related](https://developer.wordpress.org/reference/functions/wp_image_editor_supports/?output_format=md#related)󠁿

| Used by | Description | 
| [wp_show_heic_upload_error()](https://developer.wordpress.org/reference/functions/wp_show_heic_upload_error/)`wp-includes/media.php` |

Callback to enable showing of the user error when uploading .heic images.

  | 
| [WP_REST_Attachments_Controller::create_item_permissions_check()](https://developer.wordpress.org/reference/classes/wp_rest_attachments_controller/create_item_permissions_check/)`wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php` |

Checks if a given request has access to create an attachment.

  | 
| [wp_image_editor()](https://developer.wordpress.org/reference/functions/wp_image_editor/)`wp-admin/includes/image-edit.php` |

Loads the WP image-editing interface.

  | 
| [edit_form_image_editor()](https://developer.wordpress.org/reference/functions/edit_form_image_editor/)`wp-admin/includes/media.php` |

Displays the image and editor in the post editor

  | 
| [get_media_item()](https://developer.wordpress.org/reference/functions/get_media_item/)`wp-admin/includes/media.php` |

Retrieves HTML form for modifying the image attachment.

  | 
| [media_upload_form()](https://developer.wordpress.org/reference/functions/media_upload_form/)`wp-admin/includes/media.php` |

Outputs the legacy media upload form.

  | 
| [wp_plupload_default_settings()](https://developer.wordpress.org/reference/functions/wp_plupload_default_settings/)`wp-includes/media.php` |

Prints default Plupload arguments.

  |

[Show 2 more](https://developer.wordpress.org/reference/functions/wp_image_editor_supports/?output_format=md#)
[Show less](https://developer.wordpress.org/reference/functions/wp_image_editor_supports/?output_format=md#)

## 󠀁[Changelog](https://developer.wordpress.org/reference/functions/wp_image_editor_supports/?output_format=md#changelog)󠁿

| Version | Description | 
| [3.5.0](https://developer.wordpress.org/reference/since/3.5.0/) | Introduced. |

## 󠀁[User Contributed Notes](https://developer.wordpress.org/reference/functions/wp_image_editor_supports/?output_format=md#user-contributed-notes)󠁿

 1.  [Skip to note 2 content](https://developer.wordpress.org/reference/functions/wp_image_editor_supports/?output_format=md#comment-content-4496)
 2.   [Codex](https://profiles.wordpress.org/codex/)  [  6 years ago  ](https://developer.wordpress.org/reference/functions/wp_image_editor_supports/#comment-4496)
 3. [You must log in to vote on the helpfulness of this note](https://login.wordpress.org?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Ffunctions%2Fwp_image_editor_supports%2F%23comment-4496)
    Vote results for this note: 0[You must log in to vote on the helpfulness of this note](https://login.wordpress.org?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Ffunctions%2Fwp_image_editor_supports%2F%23comment-4496)
 4. Example:
 5.     ```php
        $args = array(
        	'mime_type' => 'image/png',
        	'methods' => array(
        		'rotate',
        		'resize',
        		'save'
        	)
        );
    
        $img_editor_test = wp_image_editor_supports( $args );
        if ( $img_editor_test ) {
        	// mime_type and method(s) supported!
        }
        ```
    
 6.  [Log in to add feedback](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Ffunctions%2Fwp_image_editor_supports%2F%3Freplytocom%3D4496%23feedback-editor-4496)

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Ffunctions%2Fwp_image_editor_supports%2F)
before being able to contribute a note or feedback.