Hooks::filter_add_gateway( array $gateways = array() )
Add this gateway to the list of available.
Contents
Parameters
- $gateways
-
(array) (Optional) List of available gateways.
Default value: array()
Return
(array)
Source
File: src/Tickets/Commerce/Gateways/Free/Hooks.php
public function filter_add_gateway( array $gateways = [] ) {
return $this->container->make( Gateway::class )->register_gateway( $gateways );
}
Changelog
| Version | Description |
|---|---|
| 5.10.0 | Introduced. |