A WordPress-centric search engine for devs and theme authors



image_edit_before_change ›

Since2.9.0
Deprecated
apply_filters( 'image_edit_before_change', $image, $changes )
Parameters: (2)
  • (resource) $image GD image resource.
    Required: Yes
  • (array) $changes Array of change operations.
    Required: Yes
Defined at:
Codex:

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





Source

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