Filters the GD image resource before applying changes to the image.
$imageresource|GdImage
$changesarray
$image = apply_filters_deprecated( 'image_edit_before_change', array( $image, $changes ), '3.5.0', 'wp_image_editor_before_change' );
| Version | Description |
|---|---|
| 3.5.0 | Use 'wp_image_editor_before_change' instead. |
| 2.9.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/image_edit_before_change