DescriptionUsageParametersPlacementSource Code
Description
Allows for the filtering of the file path before output.
Usage
The following would apply to all forms.
1add_filter( 'gform_fileupload_entry_value_file_path', 'your_function_name', 10, 2 );
Parameters
$file_path string
The file path of the download file.
$field GF_Field_Fileupload
The field object for further context.
Placement
This code should be placed in the functions.php file of your active theme.
Source Code
This filter is located in class-gf-field-fileupload.php.