apply_filters( ‘image_editor_save_pre’, WP_Image_Editor $image, int $attachment_id )

In this article

Filters the WP_Image_Editor instance for the image to be streamed to the browser.

Parameters

$imageWP_Image_Editor
The image editor instance.
$attachment_idint
The attachment post ID.

Source

$image = apply_filters( 'image_editor_save_pre', $image, $attachment_id );

Changelog

VersionDescription
3.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.