LLMS_Payment_Gateways::get_supporting_gateways( string $feature )
Get an array of payment gateways which support a specific gateway feature
Description Description
Parameters Parameters
- $feature
-
(string) (Required) a gateway feature string
Return Return
(array)
Source Source
File: includes/class.llms.payment.gateways.php
public function get_supporting_gateways( $feature ) { $gateways = array(); foreach ( $this->get_enabled_payment_gateways() as $id => $gateway ) { if ( $gateway->supports( $feature ) ) { $gateways[ $id ] = $gateway; } } return apply_filters( 'lifterlms_supporting_payment_gateways', $gateways, $feature ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.10.0 | Introduced. |