WordPress at a glance
filter is not described

wp_delete_file filter-hook . WP 2.1.0

Filters the path of the file to delete.

Usage

add_filter( 'wp_delete_file', 'filter_function_name_712' );
function filter_function_name_712( $file ){
	// filter...

	return $file;
}
$file(string)
Path to the file to delete.

Where the hook is called

wp_delete_file()
wp-includes/functions.php 5527
$delete = apply_filters( 'wp_delete_file', $file );

Where the hook is used (in WP core)

Does not used.