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_1689', 10, 2 );
function filter_function_name_1689( $filename, $filename_raw ){
	// filter...

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

Changelog

Since 2.8.0 Introduced.

Where the hook is called

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

Where the hook is used (in WP core)

Usage not found!