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.

發表回覆

您的郵箱地址不會被公開。 必填項已用 * 標註