Hello everyone,
I’m working on creating a generic plugin for subscribing to notifications via email (a simple form with an email input and a submit button). So far, I’ve managed to create a form that collects email addresses and stores them in a custom table in the database.
However, I’m stuck on a couple of points:
- How can I intercept the notification email sending hook to include the addresses from my table in the recipients?
- Alternatively, is there a way to add a checkbox to the notify form to include these emails in outgoing notifications?
Thank you in advance,
Dmitrii