Description #
This filter sets the default values for the fluent form shortcode.
apply_filters('fluentform/shortcode_defaults', $defaults , $atts);
Usage #
add_filter('fluentform/shortcode_defaults', function($defaults, $atts) {
return $defaults;
}, 10, 2);
Parameters #
- $deafults (array) Default Values
- $atts (array) Shortcode Attributes
Placement #
This code should be placed in the functions.php file of your active theme.
Source Code #
This filter is located in FluentForm\App\Modules\Component\Component -> addFluentFormShortCode()