Skip to content

Instantly share code, notes, and snippets.

@alex-authlab
Last active November 5, 2022 21:08
Show Gist options
  • Select an option

  • Save alex-authlab/5f2cc0305f645f09783f6f6e7b6de298 to your computer and use it in GitHub Desktop.

Select an option

Save alex-authlab/5f2cc0305f645f09783f6f6e7b6de298 to your computer and use it in GitHub Desktop.
Fluent Form custom redirect filter
add_filter('fluentform_submission_confirmation', function($returnData, $form, $confirmation )
{
if($form->id != 11){
return;
}
$returnData['redirectUrl'] = 'http://google.com';
$returnData['message'] = "Redirecting";
return $returnData ;
}, 10, 3);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment