apply_filters_deprecated( ‘image_edit_before_change’, resource|GdImage $image, array $changes )

In this article

This hook has been deprecated. Use {@see ‘wp_image_editor_before_change’} instead.

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

Parameters

$imageresource|GdImage
GD image resource or GdImage instance.
$changesarray
Array of change operations.

Source

$image = apply_filters_deprecated( 'image_edit_before_change', array( $image, $changes ), '3.5.0', 'wp_image_editor_before_change' );

Changelog

VersionDescription
3.5.0Use 'wp_image_editor_before_change' instead.
2.9.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.