W3cubDocs

/WordPress

apply_filters_deprecated( 'image_edit_before_change', resource $image, array $changes )

This hook has been deprecated. Use ‘wp_image_editor_before_change’ instead.

Filters the GD image resource before applying changes to the image.

Parameters

$image

(resource) GD image resource.

$changes

(array) Array of change operations.

Source

File: wp-admin/includes/image-edit.php

View on Trac

Changelog

Version Description
3.5.0 Use 'wp_image_editor_before_change' instead.
2.9.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/image_edit_before_change