LLMS_Payment_Gateway::supports( string $feature )
Determine if a feature is supported by the gateway Looks at the $this->supports and ensures the submitted feature exists and is true
Description Description
Parameters Parameters
- $feature
-
(string) (Required) name of the supported feature
Return Return
(boolean)
Source Source
File: includes/abstracts/abstract.llms.payment.gateway.php
public function supports( $feature ) { $supports = $this->get_supported_features(); if ( isset( $supports[ $feature ] ) && $supports[ $feature ] ) { return true; } return false; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |