Notifications
Clear all

Paid Addons Support Forum Only

Please note, that here we only support Paid Addons issues and questions.

gVectors Support staff works from 6am to 6pm (GMT+0)

All questions related to wpForo and wpDiscuz free plugins should be asked in the corresponding plugin support forum:

 

wpDiscuz Support Forum wpForo Support Forum

Email Notification only for specific user role


Tomasz Brzozowski
Posts: 4
Customer
Topic starter
(@tomasz-brzozowski)
Member
Joined: 6 months ago

I have a user role paid_user

Is there way to use this (or any other) hook

https://wpdiscuz.com/docs/codex/actions/wpdiscuz_before_sending_emails/

To filter emails to be sent only for users with a user role paid_user

Thanks!

2 Replies
Astghik
Posts: 5354
Admin
(@astgh)
Support Team
Joined: 5 years ago

Hi Tomasz Brzozowski,

You can use the wpdiscuz_email_notification hook for this purpose: 

https://wpdiscuz.com/docs/codex/filters/wpdiscuz_email_notification/

Please note all questions related to the free wpDiscuz plugin should be asked in the wpDiscuz.com forum. Here we only support issues related to paid addons.

Reply
Tomasz Brzozowski
Posts: 4
Customer
Topic starter
(@tomasz-brzozowski)
Member
Joined: 6 months ago

Can I ask you about how the function for our usecase would look like? Sorry our PHp coding skills are... well there aren't any haha 🙂

Reply
Share:
Scroll to top