Accept null opt-in values for in Woo Blocks integration

[MAILPOET-4804]
This commit is contained in:
Malith Senaweera
2022-11-09 16:08:51 -06:00
committed by Aschepikov
parent c6259eb185
commit a35e0dced4

View File

@@ -120,7 +120,7 @@ class WooCommerceBlocksIntegration {
return [ return [
'optin' => [ 'optin' => [
'description' => __('Subscribe to marketing opt-in.', 'mailpoet'), 'description' => __('Subscribe to marketing opt-in.', 'mailpoet'),
'type' => 'boolean', 'type' => ['boolean', 'null'],
], ],
]; ];
}, },