woocommerce_payment_gateway_supports

woocommerce_payment_gateway_supports

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

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_payment_gateway_supports') is found 1 times:

  • /includes/abstracts/abstract-wc-payment-gateway.php line 422
    	 * @return bool True if the gateway supports the feature, false otherwise.
    	 * @since 1.5.7
    	 */
    	public function supports( $feature ) {
    		return apply_filters( 'woocommerce_payment_gateway_supports', in_array( $feature, $this->supports ), $feature, $this );
    	}
    
    	/**
    	 * Can the order be refunded via this gateway?
    	 *
    	 * Should be extended by gateways to do their own checks.