Filters the list of characters to remove from a filename.
$special_charsstring[]
$filename_rawstring
$special_chars = apply_filters( 'sanitize_file_name_chars', $special_chars, $filename_raw );
| Version | Description |
|---|---|
| 2.8.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/sanitize_file_name_chars