WordPress at Your Fingertips
filter is not described

image_edit_before_change filter-hook . WP 2.9.0

Deprecated from version 3.5.0. It is no longer supported and can be removed in future releases. See wp_image_editor_before_change.

Deprecated: 3.5.0 Use {@see 'wp_image_editor_before_change'} instead.

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


add_filter( 'image_edit_before_change', 'filter_function_name_4448', 10, 3 );
function filter_function_name_4448( $image, $changes, $string ){
	// filter...

	return $image;
GD image resource or GdImage instance.
Array of change operations.


Since 2.9.0 Introduced.
Deprecated Since 3.5.0 Use {@see 'wp_image_editor_before_change'} instead.

Where the hook is called

wp-admin/includes/image-edit.php 600
$image = apply_filters_deprecated( 'image_edit_before_change', array( $image, $changes ), '3.5.0', 'wp_image_editor_before_change' );

Where in WP core the hook is used WordPress

Usage not found.