LLMS_Payment_Gateway::get_supported_features()
Get an array of features the gateway supports.
Return Return
(array)
Source Source
File: includes/abstracts/abstract.llms.payment.gateway.php
public function get_supported_features() {
if ( ! isset( $this->supports['modify_recurring_payments'] ) || is_null( $this->supports['modify_recurring_payments'] ) ) {
$this->supports['modify_recurring_payments'] = $this->supports['recurring_payments'] ?? false;
}
/**
* Filters the gateway's supported features array
*
* @since 3.0.0
*
* @param array $supports Array of feature support.
* @param string $gateway_id The payment gateway's ID.
*/
return apply_filters( 'llms_get_gateway_supported_features', $this->supports, $this->id );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 7.0.0 | Handle modify_recurring_payments depending on recurring_payments. |
| 3.0.0 | Introduced. |