apply_filters( 'llms_can_gateway_be_used_for_plan_or_order', boolean|WP_Error $can_be_used , string $gateway_id , LLMS_Access_plan $plan )
Filters whether or not a gateway can be used for a given plan or order.
Parameters Parameters
- $can_be_used
-
(boolean|WP_Error) Whether or not the gateway can be used for the plan. This value will be
true
when the gateway can be used an an error object when it cannot. - $gateway_id
-
(string) The LLMS_Payment_Gateway ID.
- $plan
-
(LLMS_Access_plan) The access plan object.
Source Source
Changelog Changelog
Version | Description |
---|---|
7.0.0 | Introduced. |