arm_payment_gateway_has_ccfields

This Filter is useful to check whether the payment gateway has credit card fields support or not.

Hook Type: Filter
Usage:
add_filter( 'arm_payment_gateway_has_ccfields', 'your_function', 10, 3);
function your_function($pgHasCCFields, $gateway_key, $gateway_options) {
    //$pgHasCCFields Payment Gateway has credit card field of not.
    //$gateway_key Payment Gateway Key.
    //$gateway_options Payment Gateway Settings Array.
    if($gateway_key == 'custom_gateway') {
        $pgHasCCFields = true;
    }
    return $pgHasCCFields;
}
Parameters:
$pgHasCCFields
Payment Gateway has credit card field of not
$gateway_key
Payment Gateway Key
$gateway_options
Payment Gateway Settings Array