Description #
This filter returns the field update data when updating the form.
apply_filters('fluentform/form_fields_update', $formFields, $formId);
Usage #
add_filter('fluentform/form_fields_update', function($formFields , $formId) {
return $formFields;
},10,2);
Parameters #
- $formFields (array) Form Fields
- $formId (int) Form ID
Placement #
This code should be placed in the functions.php file of your active theme.
Source Code #
This filter is located in FluentForm\App\Services\Form\Updater -> update($attributes = [])