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.


Parameters

$image_editors

(string[])Array of available image editor class names. Defaults are 'WP_Image_Editor_Imagick', 'WP_Image_Editor_GD'.


Top ↑

Source

File: wp-includes/media.php

View on Trac


Top ↑

Changelog

Changelog
VersionDescription
3.5.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More