A WordPress-centric search engine for devs and theme authors



sanitize_file_name_chars ›

Since2.8.0
Deprecatedn/a
apply_filters( 'sanitize_file_name_chars', $special_chars, $filename_raw )
Parameters: (2)
  • (array) $special_chars Characters to remove.
    Required: Yes
  • (string) $filename_raw Filename as it was passed into sanitize_file_name().
    Required: Yes
Defined at:
Codex:

Filters the list of characters to remove from a filename.





Source

$special_chars = apply_filters( 'sanitize_file_name_chars', $special_chars, $filename_raw );