Gateway_Handler implements Registerable, Standard_Service

Payment Gateway Handler

Tags
author

Barn2 Plugins support@barn2.com

license

GPL-3.0

copyright

Barn2 Media Ltd

Interfaces, Classes and Traits

Registerable
Standard_Service

Table of Contents

filter_payment_gateways()  : array<string|int, WC_Payment_Gateway>
Filter WC Payment Gateways by role
register()  : mixed
{@inheritdoc}

Methods

filter_payment_gateways()

Filter WC Payment Gateways by role

public filter_payment_gateways(array<string|int, WC_Payment_Gateway$available_gateways) : array<string|int, WC_Payment_Gateway>
Parameters
$available_gateways : array<string|int, WC_Payment_Gateway>
Tags
Return values
array<string|int, WC_Payment_Gateway>

$available_gateways

register()

{@inheritdoc}

public register() : mixed
Tags
Return values
mixed

Search results