Notify (send email) a user on role change
I want the users to get email alerts every time their forum role changes.
Namely, I want to notify users only if their role has changed to Participant.
I found a way to do this with standard WordPress roles, but it doesn’t work with bbPress roles.
I tried changing
if ($new_role == 'contributor')to
if ($new_role == 'participant')and even to this
if ($new_role == 'bbp_participant')– nothing worked.
WordPress version: 3.8.2
bbPress version: 2.5.3
- You must be logged in to reply to this topic.