wp_image_editors WordPress Filter Hook
Image editors in WordPress are used to modify and improve the quality of images within the WordPress media library. There are a number of image editors available as plugins or built into themes. The wp_image_editors hook allows you to specify which image editor to use by default.
apply_filters( 'wp_image_editors', string[] $image_editors ) #
Filters the list of image editing library classes.
Contents
Parameters
- $image_editors
(string[])Array of available image editor class names. Defaults are 'WP_Image_Editor_Imagick', 'WP_Image_Editor_GD'.
Source
File: wp-includes/media.php
Changelog
Version | Description |
---|---|
3.5.0 | Introduced. |