Description #
This action run before uploading a file.
/*
* Source Action
*/
do_action('fluentform/starting_file_upload', $files, $form);
Usage #
add_action('fluentform/starting_file_upload', function ($files, $form)
{
// Do your stuffs here
}, 10, 2);
This code should be placed in the functions.php file of your active theme.
Parameters #
- $files (array) Files
- $form (object) Form Object
Source Code #
This hook is located in /fluentformpro/src/Uploader.php