LLMS_Payment_Gateway::is_default_gateway()
Determine if the gateway is the default gateway
Description Description
This will be the FIRST gateway in the gateways that are enabled.
Return Return
(boolean)
Source Source
File: includes/abstracts/abstract.llms.payment.gateway.php
public function is_default_gateway() { return ( $this->get_id() === llms()->payment_gateways()->get_default_gateway() ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
5.3.0 | Use llms() in favor of deprecated LLMS() . |
3.0.0 | Introduced. |