remove_user_role, $this->ID, $role
remove_user_role, $this->ID, $role
Appears in: 7.0.3
Hook Type: action
Displaying hooks found in version: 7.0.3do_action('remove_user_role, $this->ID, $role') is found 1 times:
- /wp-includes/class-wp-user.php line 603
* * @param int $user_id The user ID. * @param string $role The removed role. */ do_action( 'remove_user_role', $this->ID, $role ); } /** * Sets the role of the user. * * This will remove the previous roles of the user and assign the user the