WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about wp_save_image_editor_file

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-admin/includes/image-edit.php apply_filters 395 /**
* Filters whether to skip saving the image file.
*
* Returning a non-null value will short-circuit the save method,
* returning that value instead.
*
* @since 3.5.0
*
* @param bool|null $override Value to return instead of saving. Default null.
* @param string $filename Name of the file to be saved.
* @param WP_Image_Editor $image The image editor instance.
* @param string $mime_type The mime type of the image.
* @param int $post_id Attachment post ID.
*/

Hook Parameters

Parameter Type Name Description
bool|null $override Value to return instead of saving. Default null.
string $filename Name of the file to be saved.
WP_Image_Editor $image The image editor instance.
string $mime_type The mime type of the image.
int $post_id Attachment post ID.