apply_filters( 'wp_image_editor_before_change', WP_Image_Editor $image, array $changes )

Filters the WP_Image_Editor instance before applying changes to the image.


Parameters

$image

(WP_Image_Editor) WP_Image_Editor instance.

$changes

(array) Array of change operations.


Source

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

View on GitHub



Changelog

Changelog
Version Description
WP-3.5.0 Introduced.