Fires after the user’s role has changed.
Parameters
$user_id
int- The user ID.
$role
string- The new role.
$old_roles
string[]- An array of the user’s previous roles.
Source
* @param string[] $old_roles An array of the user's previous roles.
Fires after the user’s role has changed.
$user_id
int$role
string$old_roles
string[]* @param string[] $old_roles An array of the user's previous roles.
User Contributed Notes
You must log in before being able to contribute a note or feedback.