WordPress at a glance
filter is not described

sanitize_file_name filter-hook . WP 2.8.0

Filters a sanitized filename string.

Usage

add_filter( 'sanitize_file_name', 'filter_function_name_4659', 10, 2 );
function filter_function_name_4659( $filename, $filename_raw ){
	// filter...

	return $filename;
}
$filename(string)
Sanitized filename.
$filename_raw(string)
The filename prior to sanitization.

Where the hook is called

sanitize_file_name()
wp-includes/formatting.php 1815
return apply_filters( 'sanitize_file_name', $filename, $filename_raw );
wp-includes/formatting.php 1845
return apply_filters('sanitize_file_name', $filename, $filename_raw);

Where the hook is used (in WP core)

Does not used.