Description #
This filter returns the file upload path.
apply_filters('fluentform/default_upload_path', $file, $originalFileArray, $this->formData, $this->form);
Usage #
add_filter('fluentform/default_upload_path', function ($filePath, $form) {
return $filePath;
}, 10, 4);
Parameters #
- $filePath (str) File path
- $form (object) Form Object
Placement #
This code should be placed in the functions.php file of your active theme.
Source Code #
apply_filters('fluentform/default_upload_path', $filePath, $this->form);
This filter is located in FluentFormPro\src\Uploader -> copyToDefault($files)