Do you want to send an email notification whenever you change any user role for letting him know that he/she become Administrator, Author, or Editor etc?
Then you came to the right place.
We have posted the simple code that will let you automatically send an email notification when user role changes and it doesn’t even need any plugin.
So let’s get started.
Send Email When User Role Changes
We have created a custom function that we embedded below, just copy the code and paste it into your WordPress theme‘s functions.php file.
Save the file.
Code to Send Email Notification When User Role Changes
Don’t forget to share this Send Email When User Role Changes