File Upload Fields
Articles
gform_file_upload_whitelisting_disabled
This filter allows the disabling of file upload whitelisting. This filter applies to all forms.
gform_file_upload_markup
The “gform_file_upload_markup” filter in Gravity Forms can be used to modify the HTML for the multi-file upload “preview”.
gform_file_permission
This filter is executed when uploading a file. It can be used to change the default permissions of uploaded files.
gform_file_path_pre_delete_file
This filter is executed before an uploaded file (from the File Upload or Post Image fields) is deleted from the entry.
gform_field_types_delete_files
Allows additional files to be deleted when file deletion occurs by adding additional field types.
gform_cleanup_target_dir
The gform_cleanup_target_dir filter is used to bypass functionality that relies on open_dir(), enabling support for the multi-file upload field on servers that don’t support open_dir(), such as WordPress VIP.