New hook for user role change
|Reported by:||usermrpapa||Owned by:|
It would be nice to have an action to hook into for user role changes. We have a plugin that cares about role changes as a way of controlling features/access in a plugin.
I can grab role changes just fine if they are made on the users profile page (user-edit.php) via one of the profile hooks, but if the changes are made to roles via the user bulk changes editor (users.php), there isn't a way (unless I have just missed it) to know that any user roles were changed.
I have opened this ticket for 2.8.5, but not sure how its potentially affected by the upcoming roles/capabilities changes slated for 2.9.
Change History (14)
- Keywords needs-patch added
- Milestone changed from 2.8.5 to Future Release
comment:6 usermrpapa — 4 years ago
- Keywords has-patch added; needs-patch removed
- Milestone changed from Future Release to 2.9