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

GD image resource.

$changes

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