Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/formatting.php | apply_filters | 2067 | /** * 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. */ |
wp-includes/formatting.php | apply_filters | 2107 | /** * Filters a sanitized filename string. * * @since 2.8.0 * * @param string $filename Sanitized filename. * @param string $filename_raw The filename prior to sanitization. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
string[] | $special_chars | Array of characters to remove. |
string | $filename_raw | The original filename to be sanitized. |
string[] | $special_chars | Array of characters to remove. |
string | $filename_raw | The original filename to be sanitized. |