Log in
Model

GuestSubscriptionChecker

Magento\Newsletter\Model\GuestSubscriptionChecker

What it does

This class checks whether a guest (non-logged-in user) is subscribed to the newsletter by their email address.

Developers would use this when they need to verify if a guest email exists in the newsletter subscription database without requiring customer authentication, such as on newsletter signup forms or subscription management pages.

Public Methods

  • isSubscribed()