Skip to main content

Filter: gform_field_types_delete_files

Dynamic Hook Name

This hook supports dynamic naming with the following modifiers:

  1. $form['id']

Example hook names:

  • gform_field_types_delete_files (base hook)
  • gform_field_types_delete_files_1 (with first modifier value)

Allows more files to be deleted

Parameters

NameTypeDescription
$field_typesarrayField types which contain file uploads
$formarrayThe Form Object

Since

  • 1.9.10

Source

  • Defined in forms_model.php at line 2329
  • Defined in includes/legacy/forms_model_legacy.php at line 415