LLMS_Payment_Gateways::get_enabled_payment_gateways()
Get only enabled payment gateways
Description Description
Return Return
(array)
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 ); }
Expand full source code Collapse full source code View on GitHub