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)


Top ↑

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

	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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