Fires after the user’s role has changed.
$user_idint
$rolestring
$old_rolesstring[]
do_action( 'set_user_role', $this->ID, $role, $old_roles );
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/set_user_role