How to disable activation email to specific user role?

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!

Topic wp-mail user-roles Wordpress

Category Web


The ultimate member is truly magical, although it is a little difficult to comprehend. If you wish to prevent certain user role notifications, utilise the ultimate member hook from the link below.

Ultimate Members Hooks https://docs.ultimatemember.com/article/1324-hooks-list?hook=um_email_notifications

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.