Filters the list of image editing library classes.
Parameters
$image_editors
string[]- Array of available image editor class names. Defaults are ‘WP_Image_Editor_Imagick‘, ‘WP_Image_Editor_GD‘.
Source
* @param int $width Image width in pixels.
Changelog
Version | Description |
---|---|
3.5.0 | Introduced. |
You can use something like this to force a specific image editor (useful for testing):