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.5

apply_filters('woocommerce_payment_gateway_supports') is found 1 times:

  • /includes/abstracts/abstract-wc-payment-gateway.php line 505
    		 * @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.