Add custom email notification to notification settings
I have a custom email notification with a custom action (based on this article – https://codex.buddypress.org/emails/custom-emails/ ), and it’s working, but it doesn’t currently allow the user to subscribe to or unsubscribe from the custom email nortification.
I would like to add this custom notification as an option in the email notification settings form in the member profile, and I would then want to use those settings in the send-function of the email.
I’ve been searching the web and forums forever and couldn’t find much helpful information about how to achieve this.
It seems there is a registration mechanism, as there are plugins that offer to override user preferences, and there are functions that sound like they have something to do with this mechanism, like – bp_nouveau_member_email_notice_settings(). But I couldn’t find any document that actually helped me register the custom email notification or explain how to access that information prior to sending the mail.
Maybe someone here can help? Thanks a lot for any idea!
- You must be logged in to reply to this topic.