Hooks::filter_add_gateway( array $gateways = array() )

Add this gateway to the list of available.


Parameters

$gateways

(array) (Optional) List of available gateways.

Default value: array()


Top ↑

Return

(array)


Top ↑

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 );
	}

Top ↑

Changelog

Changelog
Version Description
5.10.0 Introduced.