sequra_merchant_options_addresses_may_be_missing
Hook
Filter
Allow modify the addresses_may_be_missing
value. Must return null, true or false.
Description
This filter allows modifying the addresses_may_be_missing
value inside options
object which is part of the payload of the Order API calls. This can be set to true
when the address fields are not required to fulfill the order, e.g., for digital products.
Parameter | Type | Description |
---|---|---|
$addresses_may_be_missing | bool | The actual value |
Changelog
Version | Description |
---|---|
3.0.0 | Introduced |
Usage Example
add_filter('sequra_merchant_options_addresses_may_be_missing', function($addresses_may_be_missing){
$addresses_may_be_missing = true;
return $addresses_may_be_missing;
});
Updated about 1 month ago