Skip to main content

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

NameTypeDescription
$filesarray[]See GF_Field_FileUpload::get_submission_files() for format.
$field\GF_Field_FileUploadThe field the files are for.
$entryarrayThe entry currently being saved. Only fields located before the current field will be included.
$formarrayThe form currently being processed.

Since

  • 2.9.18

Source

Defined in includes/fields/class-gf-field-fileupload.php at line 1686