A WordPress-centric search engine for devs and theme authors



wp_image_editor_before_change ›

Since3.5.0
Deprecatedn/a
apply_filters( 'wp_image_editor_before_change', $image, $changes )
Parameters: (2)
  • (WP_Image_Editor) $image WP_Image_Editor instance.
    Required: Yes
  • (array) $changes Array of change operations.
    Required: Yes
Defined at:
Codex:

Filters the WP_Image_Editor instance before applying changes to the image.





Source

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