LLMS_Payment_Gateways::get_enabled_payment_gateways()

Get only enabled payment gateways


Description Description


Return Return

(array)


Top ↑

Source Source

File: includes/class.llms.payment.gateways.php

	public function get_enabled_payment_gateways() {

		$gateways = array();
		foreach ( $this->get_payment_gateways() as $gateway ) {
			if ( $gateway->is_enabled() ) {
				$gateways[ $gateway->get_id() ] = $gateway;
			}
		}

		return apply_filters( 'lifterlms_enabled_payment_gateways', $gateways );

	}


Top ↑

User Contributed Notes User Contributed Notes

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