Description #
This filter returns the base colors that are used in the email.
apply_filters('fluentform/survey_shortcode_defaults', $defaults, $atts);
Usage #
add_filter('fluentform/survey_shortcode_defaults', function ($defaults, $atts) {
// do your stuff
return $defaults;
}, 10, 2);
Parameters #
- $defaults (array) Default Data
- $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 fluentformpro.php