- srfm_enable_redirect_activation
- sureforms_plugin_action_links
- srfm_quick_sidebar_allowed_blocks
- srfm_integrated_plugins
- srfm_suretriggers_integration_data_filter
- srfm_form_submit_response
- srfm_enable_gutenberg_post_types
- srfm_languages_directory
- srfm_form_template
- srfm_disable_nps_survey
srfm_after_submission_process
Description:
This action runs right after a form is submitted, allowing you to kick off processes that happen in the background, such as sending data to an external system or starting an automated task.
Parameters:
- $form_data (array) – Contains complete form data in its raw format.
Hook Source:
/**
* hook source
*/
do_action( ‘srfm_after_submission_process', $form_data );
Hook Usage:
add_action(‘srfm_after_submission_process', 'your_custom_function', 10, 1);
function your_custom_function ( $form_data )
{
//Add code here
}
Hook Example:
add_action(‘srfm_after_submission_process', 'your_custom_function', 10, 1);
function your_custom_function( $form_data )
{
$form_id = $form_data['form_id'];
//Add code here
}
Was this doc helpful?
What went wrong?
We don't respond to the article feedback, we use it to improve our support content.
On this page