Notify a bbPress User when their Role has Been Changed
I want the users to get email alerts every time their forum role changes to a specific role.
Namely, I have to notify them only if their role has changed from Spectator 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.
Perhaps someone knows the solution?
WordPress version: 3.8.2
bbPress version: 2.5.3
- You must be logged in to reply to this topic.