woocommerce_payment_gateway_supports, in_array( $feature, $this->supports, true
woocommerce_payment_gateway_supports, in_array( $feature, $this->supports, true
Appears in: woocommerce.11.0.0
Hook Type: filter
Displaying hooks found in version: woocommerce.11.0.0apply_filters('woocommerce_payment_gateway_supports, in_array( $feature, $this->supports, true') is found 1 times:
- /includes/abstracts/abstract-wc-payment-gateway.php line 529
* @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.