Skip to content

Commit cf91374

Browse files
cs
1 parent 5ad7358 commit cf91374

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

integrations/woocommerce/class-woocommerce.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,10 @@ public function add_hooks()
6969
add_action('woocommerce_checkout_order_processed', array($this, 'subscribe_from_woocommerce_checkout'));
7070
add_action('woocommerce_store_api_checkout_order_processed', array($this, 'subscribe_from_woocommerce_checkout'));
7171
if ($this->options['precheck']) {
72-
add_filter("woocommerce_get_default_value_for_mc4wp/optin", function ($value) {
72+
add_filter('woocommerce_get_default_value_for_mc4wp/optin', function ($value) {
7373
return '1';
7474
});
7575
}
76-
7776
}
7877

7978
/**

0 commit comments

Comments
 (0)