Table of Contents
Description #
This filter returns default settings when creating a form. You can hook into this and modify the default settings according to your preference.
apply_filters('fluentform_create_default_settings', $defaultSettings);
Usage #
add_filter('fluentform_create_default_settings', function($defaultSettings) {
return $defaultSettings;
},10,1);
Parameters #
- $defaultSettings (array) Default Settings
Placement #
This code should be placed in the functions.php file of your active theme.
Source Code #
This filter is located in app/Modules/Entries/Entries.php