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.


Top ↑

Source Source

File: includes/models/model.llms.access.plan.php

View on GitHub



Top ↑

Changelog Changelog

Changelog
Version Description
7.0.0 Added $querystring_only parameter.
3.30.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.