Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



sanitize_file_name_chars ›

Seit2.8.0
Veraltetn/v
apply_filters( 'sanitize_file_name_chars', $special_chars, $filename_raw )
Parameter: (2)
  • (array) $special_chars Characters to remove.
    Erforderlich: Ja
  • (string) $filename_raw Filename as it was passed into sanitize_file_name().
    Erforderlich: Ja
Definiert in:
Codex:

Filters the list of characters to remove from a filename.





Quellcode

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