fluent_file_uploaded

Description  #

This filter is used when uploading the files.

apply_filters('fluent_file_uploaded', $uploadFile, $this->formData, $this->form);

Usage   #

add_filter('fluentform_email_template_colors', function ($uploadFile, $formData, $form) {
    // do your stuff
    return $uploadFile;
}, 10, 3);

Parameters #

  • $uploadFile (array) Files Uploded
  • $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

Powered by BetterDocs

Leave a Reply

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