ClassesBigCommerceFormsForm Redirect

Form_Redirect

Handles redirection after a form submission.

  • Full name: \BigCommerce\Forms\Form_Redirect

Methods

redirect

Redirects the user to a given URL after a form submission.

public redirect(string $url): void

This method applies a filter to modify the redirect URL and triggers actions before performing the redirect.

Parameters:

ParameterTypeDescription
$urlstringThe destination URL for the redirect.


Automatically generated on 2025-01-21