Gateway_Handler implements Registerable, Standard_Service
Payment Gateway Handler
Tags
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