Retrieves the default payment gateway ID.

Description Description

The default gateway is the first gateway in the list of enabled gateways.

Top ↑

Return Return


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

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.