Settings Hooks
Action Hooks 24 HooksThese hooks fire during admin settings, navigation menus, and configuration screens.
fluentform/admin_nav_menu_{$item_key}
Description
This action runs when add Fluent Forms admin menu
Usage:
add_action('fluentform/admin_nav_menu_{$item_key}', function() {
// Do your stuff when add fluentform admin menu
}, 10, 0);2
3
Note: {$item_key} is a dynamic key. Replace {$item_key} with Fluent Forms admin menu key.
Reference
do_action("fluentform/admin_nav_menu_{$itemKey}");
This action is located in fluentform/app/Modules/Registerer/AdminBar.php
fluentform/after_form_settings_app
Description
This action fires after fluentform plugin is loaded.
Parameters
$form_id(int) Form ID
Usage:
add_action('fluentform/after_form_settings_app', function($form_id) {
// Do your stuff when
}, 10, 1);2
3
Reference
do_action('fluentform/after_form_settings_app', $form_id);
This action is located in fluentform/app/Views/admin/form/settings.php
fluentform/after_global_menu
Parameters
- See source
Usage
add_action('fluentform/after_global_menu', function ($value) {
// your code
}, 10, 1);2
3
Reference
do_action('fluentform/after_global_menu');
This action is located in app/Views/admin/global_menu.php (line 116).
fluentform/after_global_menu_render
Parameters
$page— see source
Usage
add_action('fluentform/after_global_menu_render', function ($page) {
// your code
}, 10, 1);2
3
Reference
do_action('fluentform/after_global_menu_render',$page);
This action is located in app/Views/admin/global_menu.php (line 187).
fluentform/after_global_settings_option_render
Description
This hook is available before rendering the global settings option page. Fore example Custom CSS/JS page.
Usage:
add_action('fluentform/after_global_settings_option_render', function() {
// Do your stuff when
}, 10, 0);2
3
Reference
do_action('fluentform/after_global_settings_option_render');
This action is located in fluentform/app/Views/admin/settings/settings.php
fluentform/after_global_settings_wrapper
Description
After rendering the form settings page this hook is available.
Usage:
add_action('fluentform/after_global_settings_wrapper', function() {
// Do your stuff when
}, 10, 0);2
3
Reference
do_action('fluentform/after_global_settings_wrapper');
This action is located in fluentform/app/Views/admin/settings/index.php
fluentform/after_save_form_settings
Description
This action runs after saving the form from admin panel. You can hook into this action and extract any data you data need from the $allSettings array.
Parameters
- $formId (int) Form Id
- $allSettings (array) Form All Settings
Usage:
add_action('fluentform/after_save_form_settings', function($formId, $allSettings) {
// Do your stuff when
}, 10, 2);2
3
Reference
do_action('fluentform/after_save_form_settings', $formId, $attributes);
This action is located in fluentform/app/Services/Settings/SettingsService.php, fluentform/app/Modules/Form/Settings/FormSettings.php
fluentform/after_tools_container
Description
This action fires after tool settings body render. Do your stuff after tool settings body rendered.
Usage:
add_action('fluentform/after_tools_container', function() {
// Do your stuff here
}, 10, 0);2
3
Reference
do_action('fluentform/after_tools_container');
This action is located in fluentform/app/Views/admin/tools/index.php
fluentform/after_tools_wrapper
Description
This action fires after tool settings render. Do your stuff after tool settings rendered.
Usage:
add_action('fluentform/after_tools_wrapper', function() {
// Do your stuff here
}, 10, 0);2
3
Reference
do_action('fluentform/after_tools_wrapper');
This action is located in fluentform/app/Views/admin/tools/index.php
fluentform/before_form_settings_app
Description
This action fires before fluentform plugin rendered.
Parameters
$form_id(int) Form ID
Usage:
add_action('fluentform/before_form_settings_app', function($form_id) {
// Do your stuff when
}, 10, 1);2
3
Reference
do_action('fluentform/before_form_settings_app', $form_id);
This action is located in fluentform/app/Views/admin/form/settings.php
fluentform/before_global_settings_option_render
Description
This action fires on each global settings component before rendering the page.
Usage:
add_action('fluentform/before_global_settings_option_render', function() {
// Do your stuff when
}, 10, 0);2
3
Reference
do_action('fluentform/before_global_settings_option_render');
This action is located in fluentform/app/Views/admin/settings/settings.php
fluentform/before_global_settings_wrapper
Description
Before rendering the form global settings page this hook is available.
Usage:
add_action('fluentform/before_global_settings_wrapper', function() {
// Do your stuff when
}, 10, 0);2
3
Reference
do_action('fluentform/before_global_settings_wrapper');
This action is located in fluentform/app/Views/admin/settings/index.php
fluentform/before_partial_entry_admin_email
Parameters
$emailFormat— see source$entry— see source$form— see source
Usage
add_action('fluentform/before_partial_entry_admin_email', function ($emailFormat, $entry, $form) {
// your code
}, 10, 3);2
3
Reference
do_action('fluentform/before_partial_entry_admin_email', $emailFormat, $entry, $form);
This action is located in src/classes/DraftSubmissionsManager.php (line 108).
fluentform/before_tools_container
Description
This action fires before tool setting body render. Do your stuff before tool settings body rendered.
Usage:
add_action('fluentform/before_tools_container', function() {
// Do your stuff here
}, 10, 0);2
3
Reference
do_action('fluentform/before_tools_container');
This action is located in fluentform/app/Views/admin/tools/index.php
fluentform/before_tools_wrapper
Description
This action fires before tool settings render. Do your stuff before tool settings rendered.
Usage:
add_action('fluentform/before_tools_wrapper', function() {
// Do your stuff here
}, 10, 0);2
3
Reference
do_action('fluentform/before_tools_wrapper');
This action is located in fluentform/app/Views/admin/tools/index.php
fluentform_do_email_report_scheduled_tasks
Description
The daily WP-Cron event that sends the Fluent Forms email summary report.
The name uses an underscore, not the fluentform/ prefix: it is a cron event name, scheduled with wp_schedule_event().
Usage:
add_action('fluentform_do_email_report_scheduled_tasks', function () {
// Runs once a day
}, 20, 0);2
3
Reference
wp_schedule_event(time(), 'daily', 'fluentform_do_email_report_scheduled_tasks');
It is scheduled in fluentform/app/Hooks/actions.php and fluentform/app/Services/GlobalSettings/GlobalSettingsHelper.php.
fluentform_do_scheduled_tasks
Description
The WP-Cron event that runs Fluent Forms' scheduled tasks every five minutes. Hook into it to run your own work on the same schedule.
The name uses an underscore, not the fluentform/ prefix: it is a cron event name, scheduled with wp_schedule_event().
Usage:
add_action('fluentform_do_scheduled_tasks', function () {
// Runs every five minutes
}, 20, 0);2
3
Reference
wp_schedule_event(time(), 'ff_every_five_minutes', 'fluentform_do_scheduled_tasks');
It is scheduled in fluentform/app/Hooks/Handlers/ActivationHandler.php -> setCronSchedule() and fluentform/app/Hooks/actions.php.
fluentform/email_summary_details
Description
This action fire when process email report.
Parameters
$emailData(array) Email Send Data$data(array) Config Data$emailResult(bool|mixed) wp_mail response
Usage:
add_action('fluentform/email_summary_details', function($emailData, $data, $emailResult) {
// Do your stuff here
}, 10, 3);2
3
Reference
do_action('fluentform/email_summary_details', [
'recipients' => $recipients,
'email_subject' => $emailSubject,
'email_body' => $emailBody
], $data, $emailResult);2
3
4
5
This action is located in fluentform/app/Services/Scheduler/Scheduler.php -> processEmailReport()
fluentform/email_template_after_footer
Description
This action fire after email template footer rendered.
Parameters
$form(object) Form Object$notification(array) Email Notification
Usage:
add_action('fluentform/email_template_after_footer', function($form, $notification) {
// Do your stuff here
}, 10, 2);2
3
Reference
do_action( 'fluentform/email_template_after_footer', $form, $notification );
This action is located in fluentform/app/Views/email/template/footer.php
fluentform/form_settings_container_{$current_route}
Description
This hook runs before rendering the settings page container.
Parameters
$form_id(int) Form ID
Usage:
add_action('fluentform/form_settings_container_{$current_route}', function($form_id) {
// Do your stuff when add fluentform admin menu
}, 10, 1);2
3
Note: {$current_route} is a dynamic settings route. Replace {$current_route} with Fluent Forms settings route.
Reference
do_action('fluentform/form_settings_container_' . $current_sub_route, $form_id);
This action is located in fluentform/app/Views/admin/form/settings_wrapper.php
fluentform/global_settings_component_{$current_component}
Description
This action fires on each global settings component. For example reCaptcha
Usage:
add_action('fluentform/global_settings_component_{$current_component}', function() {
// Do your stuff when add fluentform admin menu
}, 10, 0);2
3
Note: {$current_component} is a dynamic component name. Replace {$current_component} with Fluent Forms component name.
Reference
do_action('fluentform/global_settings_component_' . $currentComponent);
This action is located in fluentform/app/Views/admin/settings/index.php
fluentform/global_settings_custom_component
Parameters
- See source
Usage
add_action('fluentform/global_settings_custom_component', function ($value) {
// your code
}, 10, 1);2
3
Reference
<?php do_action('fluentform/global_settings_custom_component'); ?>
This action is located in app/Views/admin/globalSettings/menu.php (line 387).
fluentform/loading_settings_assets
Parameters
$formId— see source
Usage
add_action('fluentform/loading_settings_assets', function ($formId) {
// your code
}, 10, 1);2
3
Reference
do_action('fluentform/loading_settings_assets', $formId);
This action is located in app/Modules/Registerer/Menu.php (line 348).
fluentform/saving_global_settings_with_key_method
Description
This action fire when store global settings.
Parameters
$attributes(array) Request params
Usage:
add_action('fluentform/saving_global_settings_with_key_method', function($attributes) {
// Do your stuff here
}, 10, 1);2
3
Reference
do_action('fluentform/saving_global_settings_with_key_method', $attributes);
This action is located in fluentform/app/Services/GlobalSettings/GlobalSettingsService.php-> store()

