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

---

# apply_filters( ‘wp_image_editors’, string[] $image_editors )

## In this article

 * [Parameters](https://developer.wordpress.org/reference/hooks/wp_image_editors/?output_format=md#parameters)
 * [Source](https://developer.wordpress.org/reference/hooks/wp_image_editors/?output_format=md#source)
 * [Changelog](https://developer.wordpress.org/reference/hooks/wp_image_editors/?output_format=md#changelog)
 * [User Contributed Notes](https://developer.wordpress.org/reference/hooks/wp_image_editors/?output_format=md#user-contributed-notes)

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

Filters the list of image editing library classes.

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

 `$image_editors`string[]

Array of available image editor class names. Defaults are ‘[WP_Image_Editor_Imagick](https://developer.wordpress.org/reference/classes/wp_image_editor_imagick/)‘,‘
[WP_Image_Editor_GD](https://developer.wordpress.org/reference/classes/wp_image_editor_gd/)‘.

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

    ```php
    $implementations = apply_filters( 'wp_image_editors', array( 'WP_Image_Editor_Imagick', 'WP_Image_Editor_GD' ) );
    ```

[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#L4290)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/media.php#L4290-L4290)

## 󠀁[Changelog](https://developer.wordpress.org/reference/hooks/wp_image_editors/?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/hooks/wp_image_editors/?output_format=md#user-contributed-notes)󠁿

 1.  [Skip to note 2 content](https://developer.wordpress.org/reference/hooks/wp_image_editors/?output_format=md#comment-content-7186)
 2.   [Brian Alexander](https://profiles.wordpress.org/ironprogrammer/)  [  2 years ago  ](https://developer.wordpress.org/reference/hooks/wp_image_editors/#comment-7186)
 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%2Fhooks%2Fwp_image_editors%2F%23comment-7186)
    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%2Fhooks%2Fwp_image_editors%2F%23comment-7186)
 4. You can use something like this to force a specific image editor (useful for testing):
 5.     ```php
        add_filter( 'wp_image_editors', 'wpdocs_filter_wp_image_editors_override' );
        function wpdocs_filter_wp_image_editors_override( $image_editors ) {
            return array( 'WP_Image_Editor_GD' );
        }
        ```
    
 6.  [Log in to add feedback](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fhooks%2Fwp_image_editors%2F%3Freplytocom%3D7186%23feedback-editor-7186)

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