caldera_forms_redirect

Caldera Forms -- Responsive, drag and drop form builder.

Called just before redirecting the user after a submission.

It receives 4 parameters:

  • $type – (complete, error, preprocess)
  • $url – the url being redirected to
  • $form – the form config array
  • $processid – the unique process id

do_action('caldera_forms_redirect', $type, $url, $form, $processid);

Where Does This Code Go?

When using WordPress hooks to customize Caldera Forms or other plugins you should not modify the plugin files, or you will lose your changes when you update the plugin. Instead you should create a small plugin to hold the custom code. It's easy, learn how here.

Technically you can add the custom code to your theme's functions.php, but then you will not be able to change your theme and keep these customizations.

Learn More