pre_gc_unique_filename_file_list

最后更新于:2021-11-27 21:21:40

apply_filters( ‘pre_gc_unique_filename_file_list’, array|null $files, string $dir, string $filename )

Filters the file list used for calculating a unique filename for a newly added file.

参数

$files

(array|null)
The list of files to use for filename comparisons. Default null (to retrieve the list from the filesystem).

$dir

(string)
The directory for the new file.

$filename

(string)
The proposed filename for the new file.

源文件

文件: gc-includes/functions.php

View on Trac