Description #
This filter returns the Itl option for the phone field.
apply_filters('fluentform/itl_options', $itlOptions, $data, $form);
Usage #
add_filter('fluentform/itl_options', function ($itlOptions, $data, $form) {
// do your stuff
return $itlOptions;
}, 10, 3);
Parameters #
- $itlOptions (array) Itl Option
- $data (array) Input 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 FluentFormPro\Components\PhoneField -> pushScripts($data, $form)