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.


Top ↑

Return Return

(boolean)


Top ↑

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() );
	}


Top ↑

Changelog Changelog

Changelog
Version Description
5.3.0 Use llms() in favor of deprecated LLMS().
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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