Add a feature flag [MAILPOET-1483]
This commit is contained in:
@@ -157,6 +157,9 @@ class Hooks {
|
||||
}
|
||||
|
||||
function setupWooCommerceSubscriptionEvents() {
|
||||
if (!$this->settings->get('woo_commerce_list_sync_enabled')) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$woocommerce = $this->settings->get('woocommerce', []);
|
||||
// WooCommerce: subscribe on checkout
|
||||
|
Reference in New Issue
Block a user