LLMS_Payment_Gateways::get_default_gateway()
Get the ID of the default payment gateway This will always be the FIRST gateway from the list of all enabled gateways
Description Description
Return Return
(string)
Source Source
File: includes/class.llms.payment.gateways.php
public function get_default_gateway() { $gateways = $this->get_enabled_payment_gateways(); $ids = array_keys( $gateways ); return array_shift( $ids ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |