Helper
Data
Magento\Newsletter\Helper\Data
What it does
This helper class provides utility methods for generating newsletter-related URLs in Magento 2.
Developers use it to create confirmation and unsubscription links that are included in newsletter emails, ensuring subscribers can verify their subscription or opt-out with properly formatted, store-scoped URLs.
Public Methods
- getConfirmationUrl()
- getUnsubscribeUrl()