fluentform_starting_file_upload

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

Powered by BetterDocs

Leave a Reply

Your email address will not be published. Required fields are marked *