woocommerce_payment_gateway_supports

woocommerce_payment_gateway_supports

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_payment_gateway_supports') is found 1 times:

  • /includes/abstracts/abstract-wc-payment-gateway.php line 506
    502
    503
    504
    505
    506
    507
    508
    509
    510
    511
    512
         * @param string $feature Feature to check.
         * @param WC_Payment_Gateway $this Payment gateway instance.
         * @return string
         */
        return apply_filters( 'woocommerce_payment_gateway_supports', in_array( $feature, $this->supports, true ), $feature, $this );
    }
     
    /**
     * Can the order be refunded via this gateway?
     *
     * Should be extended by gateways to do their own checks.