Table of Contents
Description #
This filter sets the defaults values for the fluent form info helper shortcode.
apply_filters('fluentform_info_shortcode_defaults', $defaults , $atts);
Usage #
add_filter('fluentform_shortcode_defaults', function($defaults , $atts) {
return $feed;
},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 app/Modules/Component/Component.php