Filters the WP_Image_Editor instance for the image to be streamed to the browser.
Parameters
$image
WP_Image_Editor- The image editor instance.
$attachment_id
int- The attachment post ID.
Source
$image = apply_filters( 'image_editor_save_pre', $image, $attachment_id );
Changelog
Version | Description |
---|---|
3.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.