A WordPress-centric search engine for devs and theme authors



image_editor_save_pre ›

Since3.5.0
Deprecatedn/a
apply_filters( 'image_editor_save_pre', $image, $attachment_id )
Parameters: (2)
  • (WP_Image_Editor) $image The image editor instance.
    Required: Yes
  • (int) $attachment_id The attachment post ID.
    Required: Yes
Defined at:
Codex:

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





Source

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