Description #
This filter sets the default values for the fluent form info helper shortcode.
apply_filters('fluentform/info_shortcode_defaults', $data , $atts);
Usage #
add_filter('fluentform/info_shortcode_defaults', function($data , $atts) {
return $data;
}, 10, 2);
Parameters #
- $data(array) ShortCode Info
- $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 -> addFluentFormShortCode()