Accept null opt-in values for in Woo Blocks integration
[MAILPOET-4804]
This commit is contained in:
committed by
Aschepikov
parent
c6259eb185
commit
a35e0dced4
@@ -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'],
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user