llms_can_gateway_be_used_for_plan( string $gateway_id, LLMS_Access_Plan $plan )
Determine if a gateway can be used for a give LLMS_Access_Plan.
Description Description
Parameters Parameters
- $gateway_id
-
(Required) LLMS_Payment_Gateway ID.
- $plan
-
(Required) The access plan.
Return Return
(WP_Error|bool) WP_Error on error, true on success
Source Source
File: includes/functions/llms.functions.order.php
Changelog Changelog
Version | Description |
---|---|
3.29.0 | Introduced. |