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.
Parameter | Type | Description |
---|---|---|
$is_available | bool | Actual availability |
Changelog
Version | Description |
---|---|
2.0.0 | Introduced |
Usage Example
add_filter('woocommerce_cart_sq_is_available_in_checkout', function($is_available){
$is_available = ... // Modify the default value
return $is_available;
});
Updated about 1 month ago