Home › Forums › Newsletter Plugin Support › Code for Newsletter Activation on registration
Hello,
I would like to register for the newsletter on a booking form like the one on the registration form. Do you have any template code for that?
Thanks very much in advance.
Cheers Alex
You can user the subscribe method of the “NewsletterSubscription” class, ot the save_user of the Newsletter class… or even do a direct update into to the database.