apply_filters( 'llms_plan_get_checkout_redirection', string $redirection , string $redirection_type , LLMS_Acccess_Plan $access_plan , bool $querystring_only )
Filter the checkout redirection parameter.
Parameters Parameters
- $redirection
-
(string) The calculated url to redirect to.
- $redirection_type
-
(string) Available redirection types 'self', 'membership', 'page', 'url' or a custom type.
- $access_plan
-
(LLMS_Acccess_Plan) Current Access Plan object.
- $querystring_only
-
(bool) Whether or not it was requested to only return the redirect URL passed by querystring.
Source Source
Changelog Changelog
Version | Description |
---|---|
7.0.0 | Added $querystring_only parameter. |
3.30.0 | Introduced. |