Send new user role by email
Hi
I would like to add user role to email that is automatically sent to admin each time a new user registers.
This is the line that I have added but it's not displaying role...
$message .= sprintf(__('Registered as: %s'), $user_role) . PHP_EOL;
Thanks