Skip to content

Instantly share code, notes, and snippets.

@aimahdi
Created December 4, 2021 15:45
Show Gist options
  • Save aimahdi/fe22fe5d78dc8b7d4aec656f3509c984 to your computer and use it in GitHub Desktop.
Save aimahdi/fe22fe5d78dc8b7d4aec656f3509c984 to your computer and use it in GitHub Desktop.
add_action('fluentform_before_submission_confirmation', 'your_custom_confirmation_function', 20, 3);
function your_custom_confirmation_function($entryId, $formData, $form)
{
if ($form->id != 207) {
return;
}
sleep(20);
// DO your stuff here
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment