WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about sanitize_file_name_chars

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/formatting.php apply_filters 2046 /**
* 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.
*/

Hook Parameters

Parameter Type Name Description
string[] $special_chars Array of characters to remove.
string $filename_raw The original filename to be sanitized.