Description #
This filter returns numeric fields and numeric style options. You can modify or add more numeric formatting options using this hook.
apply_filters('fluentform/numeric_styles', $styles);
Usage #
add_filter('fluentform/numeric_styles', function ($styles) {
//do your stuff
return $styles;
}, 10, 2);
Parameters #
- $styles (array) Formatting options
Placement #
This code should be placed in the functions.php file of your active theme.
Source Code #
This filter is located in FluentForm\App\Helpers\Helper -> getNumericFormatters()