gform_fileupload_entry_value_file_path

gform_fileupload_entry_value_file_path

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.

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注