pre_move_uploaded_file
最后更新于:2021-11-27 19:25:07
apply_filters( ‘pre_move_uploaded_file’, mixed $move_new_file, string[] $file, string $new_file, string $type )
Filters whether to short-circuit moving the uploaded file after passing all checks.
参数
- $move_new_file
-
(mixed)
If null (default) move the file after the upload. - $file
-
(string[])
An array of data for a single file. - $new_file
-
(string)
Filename of the newly-uploaded file. - $type
-
(string)
Mime type of the newly-uploaded file.
源文件
文件: gc-admin/includes/file.php