File Upload Fields
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.
Allows additional files to be deleted when file deletion occurs by adding additional field types.
This filter is executed before an uploaded file (from the File Upload or Post Image fields) is deleted from the entry.
This filter is executed when uploading a file. It can be used to change the default permissions of uploaded files.
The “gform_file_upload_markup” filter in Gravity Forms can be used to modify the HTML for the multi-file upload “preview”.
This filter allows the disabling of file upload whitelisting. This filter applies to all forms.
Allows for the filtering of the file path before output.
This filter is used to filter the field object that will be associated with the uploaded file.
This filter can be used to perform custom logic to determine if the download URL will allow access to the file.
This filter allows the initialization settings (file size, file count, browse button, drag and drop, and more) for Plupload to be changed.