Description #
This action runs after saving the form from the admin panel. You can hook into this action and extract any data you data need from the $allSettings array.
/*
* Source Action
*/
do_action('fluentform/after_save_form_settings', $formId, $allSettings);
Usage #
The following would apply to all forms:
add_action('fluentform/after_save_form_settings', 'your_custom_function', 10, 2);
function your_custom_function($formId, $allSettings)
{
// Do your stuff here
}
Parameters #
- $formId (int) Form ID
- $allSettings (array) Settings Data
Source Code #
This action is located in fluentform/app/Services/Settings/SettingsService.php and fluentform/app/Modules/Form/Settings/FormSettings.php