diff --git a/mailpoet/lib/WooCommerce/Integrations/AutomateWooHooks.php b/mailpoet/lib/WooCommerce/Integrations/AutomateWooHooks.php index fb5c621d10..a7c84ba0ba 100644 --- a/mailpoet/lib/WooCommerce/Integrations/AutomateWooHooks.php +++ b/mailpoet/lib/WooCommerce/Integrations/AutomateWooHooks.php @@ -103,7 +103,7 @@ class AutomateWooHooks { } } - public function isWooCommerceSubscribed(SubscriberEntity $subscriber) { + private function isWooCommerceSubscribed(SubscriberEntity $subscriber) { return $subscriber->getStatus() === SubscriberEntity::STATUS_SUBSCRIBED && $this->subscribersRepository->getWooCommerceSegmentSubscriber($subscriber->getEmail()); }