Used By
| Used By | Description |
|---|---|
| wp-admin/includes/image-edit.php: wp_save_image_file() | Saves image to file. |
This hook has been deprecated. Use ‘wp_save_image_editor_file’ instead.
Filters whether to skip saving the image file.
Returning a non-null value will short-circuit the save method, returning that value instead.
(mixed) Value to return instead of saving. Default null.
(string) Name of the file to be saved.
(WP_Image_Editor) The image editor instance.
(string) The mime type of the image.
(int) Attachment post ID.
| Version | Description |
|---|---|
| 3.5.0 | Use 'wp_save_image_editor_file' instead. |
| 2.9.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_save_image_file