This hook has been deprecated. Use wp_image_editor_before_change instead.

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

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


Parameters

$image

GD image resource.

$changes

Array of change operations.


Source

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

View on GitHub



Changelog

Changelog
Version Description
WP-3.5.0 Use wp_image_editor_before_change instead.
WP-2.9.0 Introduced. This hook has been deprecated. Use wp_image_editor_before_change instead.