arm_get_payment_gateways

This Filter provides access to modify all payment gateway settings array generated by arm_get_all_payment_gateways() function.

Hook Type: Filter
Usage:
add_filter( 'arm_get_payment_gateways', 'your_function');
function your_function($pg_settings) {
    //$pg_settings Payment Gateway Settings Array.
    $pg_settings['custom_gateway']['gateway_name'] = 'Custom Payment Gateway';
    return $pg_settings;
}
Parameters:
$pg_settings
Payment Gateway Settings Array