Filters the GD image resource to be streamed to the browser.
$imageresource|GdImage
$attachment_idint
$image = apply_filters_deprecated( 'image_save_pre', array( $image, $attachment_id ), '3.5.0', 'image_editor_save_pre' );
| Version | Description |
|---|---|
| 3.5.0 | Use 'image_editor_save_pre' instead. |
| 2.9.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/image_save_pre