Used By
Used By | Description |
---|---|
wp-includes/formatting.php: sanitize_file_name() | Sanitizes a filename, replacing whitespace with dashes. |
Filters the list of characters to remove from a filename.
(string[]) Array of characters to remove.
(string) The original filename to be sanitized.
Version | Description |
---|---|
2.8.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/sanitize_file_name_chars