disable buddypress email sending for custom role?
-
We use a membership script integrated with WP and BuddyPress. When users unsubscribe from emails in script, they still get email notifications from BuddyPress (private messages notifications, etc). This is bad.
It’s easy for us to assign these members a custom role. Is there a way to prevent BuddyPress from sending emails to these users who have this custom role?
I see here that you can create functions for creating new capabilities (for User Role Editor plugin):
Is there a function, or another method I can use to prevent BuddyPress from sending of all emails for users who have specific custom role?
Thanks for any suggestions!
- You must be logged in to reply to this topic.