Filter: gform_submission_files_pre_save_field_value
Allows filtering (e.g., renaming) of the submission files before they are saved to the form uploads folder and entry.
Parameters
| Name | Type | Description |
|---|---|---|
| $files | array[] | See GF_Field_FileUpload::get_submission_files() for format. |
| $field | \GF_Field_FileUpload | The field the files are for. |
| $entry | array | The entry currently being saved. Only fields located before the current field will be included. |
| $form | array | The form currently being processed. |
Since
- 2.9.18
Source
Defined in includes/fields/class-gf-field-fileupload.php at line 1686