Used By
Used By | Description |
---|---|
wp-admin/includes/image-edit.php: wp_save_image_file() | Saves image to file. |
wp-admin/includes/image-edit.php: wp_stream_image() | Streams image in WP_Image_Editor to browser. |
This hook has been deprecated. Use ‘image_editor_save_pre’ instead.
Filters the GD image resource to be streamed to the browser.
(resource) Image resource to be streamed.
(int) The attachment post ID.
Version | Description |
---|---|
3.5.0 | Use 'image_editor_save_pre' instead. |
2.9.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/image_save_pre