WordPress at Your Fingertips
filter is not described

image_editor_output_format filter-hook . WP 1.0

Check if an image will be converted after uploading or some existing images sub-sizes file names may conflict when regenerated. If yes, ensure the new file name will be unique and will produce unique sub-sizes.

Usage

add_filter( 'image_editor_output_format', 'filter_function_name_812', 10, 3 );
function filter_function_name_812( $array, $dir . $filename, $mime_type ){
	// filter...

	return $array;
}
$array
-
$dir . $filename
-
$mime_type
-

Where the hook is called

wp_unique_filename()
image_editor_output_format
WP_Image_Editor::get_output_format()
image_editor_output_format
wp-includes/functions.php 2620
$output_formats = apply_filters( 'image_editor_output_format', array(), $_dir . $filename, $mime_type );
wp-includes/class-wp-image-editor.php 368
$output_format = apply_filters( 'image_editor_output_format', array(), $filename, $mime_type );

Where in WP core the hook is used WordPress

Usage not found.