wp mail – How to disable activation email to specific user role?

Question

I’m using Ultimate Member to manage my user roles. I have the Activation Emails active and it sends to new subscribers as expected. But when a user with role “Employee” subscribes, I don’t want them to get this activation email.

Right now someone with the role “Employee” is getting two emails, the one I want and the extra activation one.

Is there a way to deactivate the activation email for a specific user role?

Thanks in advance!

0
Soraia Carmo 1 year 2022-02-21T13:32:48-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse