WordPress at a glance
filter is not described

wp_save_image_file filter-hook . WP 2.9.0

Deprecated in 3.5.0. It is no longer supported and can be removed in future releases. See wp_save_image_editor_file.

Deprecated: 3.5.0 Use {@see '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.

Usage

add_filter( 'wp_save_image_file', 'filter_function_name_8262', 10, 3 );
function filter_function_name_8262( $override, $filename, $image ){
	// filter...

	return $override;
}
$override(mixed)
Value to return instead of saving.
Default: null
$filename(string)
Name of the file to be saved.
$image(WP_Image_Editor)
The image editor instance.

Changelog

Since DEL 3.5.0 Introduced.

Where the hook is called

wp_save_image_file()
wp_save_image_file
wp-admin/includes/image-edit.php 375
$saved = apply_filters_deprecated( 'wp_save_image_file', array( null, $filename, $image, $mime_type, $post_id ), '3.5.0', 'wp_save_image_editor_file' );

Where in WP core the hook is used

Usage not found!