Description
Filters the list of characters to remove from a filename.
Occurrences
Filename | Line Number |
---|---|
wp-includes/formatting.php | 2049 |
Parameters
Type | Name | Description |
---|---|---|
string[] | $special_chars | Array of characters to remove. |
string | $filename_raw | The original filename to be sanitized. |
PHP Doc
/**
* Filters the list of characters to remove from a filename.
*
* @since 2.8.0
*
* @param string[] $special_chars Array of characters to remove.
* @param string $filename_raw The original filename to be sanitized.
*/