On this page
apply_filters( 'wp_image_editor_before_change', WP_Image_Editor $image, array $changes )
Filters the WP_Image_Editor instance before applying changes to the image.
Parameters
$imageWP_Image_Editor-
WP_Image_Editor instance.
$changesarray-
Array of change operations.
Source
File: wp-admin/includes/image-edit.php. View all references
$image = apply_filters( 'wp_image_editor_before_change', $image, $changes );
Related
Used By
| Used By | Description |
|---|---|
| image_edit_apply_changes() wp-admin/includes/image-edit.php | Performs group of changes on Editor specified. |
Changelog
| Version | Description |
|---|---|
| 3.5.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_image_editor_before_change