Warning: This hook has been deprecated. Use ‘wp_image_editor_before_change’ instead.
apply_filters_deprecated( 'image_edit_before_change', resource|GdImage $image , array $changes )
Filters the GD image resource before applying changes to the image.
Parameters
-
$image
resource|GdImage -
GD image resource or GdImage instance.
-
$changes
array -
Array of change operations.
Source
File: wp-admin/includes/image-edit.php
.
View all references
$image = apply_filters_deprecated( 'image_edit_before_change', array( $image, $changes ), '3.5.0', 'wp_image_editor_before_change' );
Changelog
Version | Description |
---|---|
3.5.0 | Use 'wp_image_editor_before_change' instead. |
2.9.0 | Introduced. |