fluentform_file_upload_validation_error

Description  #

Using this filter you can modify the file upload validation errors.

apply_filters('fluentform_file_upload_validation_error', $errors,$this->form);

Usage   #

add_filter('fluentform_file_upload_validations', function ($errors, $form) {
    // do your stuff
    return $errors;
}, 10, 2);

Parameters #

  • $errors (array) Validation Errors
  • $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 *