WordPress at a glance
filter is not described

wp_save_image_editor_file filter-hook . WP 3.5.0

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_editor_file', 'filter_function_name_5375', 10, 5 );
function filter_function_name_5375( $override, $filename, $image, $mime_type, $post_id ){
	// filter...

	return $override;
}
$override(true/false/null)
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.
$mime_type(string)
The mime type of the image.
$post_id(int)
Attachment post ID.

Список изменений

С версии 3.5.0 Введена.

Где вызывается хук

wp_save_image_file()
wp_save_image_editor_file
wp-admin/includes/image-edit.php 346
$saved = apply_filters( 'wp_save_image_editor_file', null, $filename, $image, $mime_type, $post_id );

Где используется хук в ядре WP

Использование не найдено.