apply_filters( ‘wp_image_editor_before_change’, WP_Image_Editor $image, array $changes )

In this article

Filters the WP_Image_Editor instance before applying changes to the image.

Parameters

$imageWP_Image_Editor
WP_Image_Editor instance.
$changesarray
Array of change operations.

Source

$image = apply_filters( 'wp_image_editor_before_change', $image, $changes );

Changelog

VersionDescription
3.5.0Introduced.

User Contributed Notes

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