apply_filters( 'sanitize_file_name_chars', array $special_chars, string $filename_raw )

Filters the list of characters to remove from a filename.


Description Description


Parameters Parameters

$special_chars

(array) Characters to remove.

$filename_raw

(string) Filename as it was passed into sanitize_file_name().


Top ↑

Source Source

File: wp-includes/formatting.php

View on Trac


Top ↑

Changelog Changelog

Changelog
Version Description
2.8.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.