Table of Contents
Description #
Using this filter you can change the upload directory of temporary file upload location. It is not recommended to change this unless you completely understand how it works.
apply_filters('fluentform_file_upload_params', $param, $this->formData, $this->form);
Usage #
add_filter('fluentform_file_upload_params', function ($param, $formData, $form) {
// do your stuff
return $param;
}, 10, 3);
Parameters #
- $param (array) Upload Parameters
- $formData (array) Form Data
- $form (object) Form Object
Placement #
This code should be placed in the functions.php file of your active theme.
Source Code #
This filter is located in the pro version src/Uploader.php