Description #
This filter returns the file uploader arguments.
apply_filters('fluentform/uploader_args', ['test_form' => false], $filesArray, $this->form);
Usage #
add_filter('fluentform/uploader_args', function ($args, $filesArray, $form) {
return $args;
}, 10, 3);
Parameters #
- $filesArray (array) Files Array
- $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