woocommerce_cart_sq_is_available_in_checkout

Hook Filter

Filter if cart or order is available to be paid with seQura

Description

The availability of seQura payment methods can be affected by the content of the cart. This filter allows modifying the resulting availability for the current cart or order cart.

ParameterTypeDescription
$is_availableboolActual availability

Changelog

VersionDescription
2.0.0Introduced

Usage Example

add_filter('woocommerce_cart_sq_is_available_in_checkout', function($is_available){
  $is_available = ... // Modify the default value
  return $is_available;
});