apply_filters( 'sanitize_file_name', string $filename, string $filename_raw )

Filters a sanitized filename string.


Parameters

$filename

Sanitized filename.

$filename_raw

The filename prior to sanitization.


Source

File: wp-includes/formatting.php

View on GitHub



Changelog

Changelog
Version Description
WP-2.8.0 Introduced.