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.


Top ↑

Source Source

File: includes/functions/llms.functions.order.php

View on GitHub



Top ↑

Changelog Changelog

Changelog
Version Description
7.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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