apply_filters( "{$this->form_manager->get_prefix()}handle_form_submission_redirect_url", string $redirect_url, awsmug\Torro_Forms\DB_Objects\Forms\Form $form, awsmug\Torro_Forms\DB_Objects\Submissions\Submission $submission )

Filters the URL to redirect the user to after a form submission request has been processed.

Description

If a submission is applicable, its query variable will be appended.

Parameters

$redirect_url

(string) (Optional) URL to redirect to. Default is the original form URL.

$form

(awsmug\Torro_Forms\DB_Objects\Forms\Form) (Optional) Form object.

$submission

(awsmug\Torro_Forms\DB_Objects\Submissions\Submission) (Optional) Submission object, or null if no submission.

Changelog

Changelog
Version Description
1.0.0 Introduced.