image_edit_before_change

Advertisement

Deprecated Deprecated

This hook has been deprecated. Use ‘wp_image_editor_before_change’ instead.

Summery Summery

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

Syntax Syntax

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

Parameters Parameters

$image

(resource) GD image resource.

$changes

(array) Array of change operations.

Source Source

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

Advertisement

Changelog Changelog

Changelog
Version Description
3.5.0 Use 'wp_image_editor_before_change' instead.
2.9.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.