|wp-includes/class-wp-user.php: remove_user_role|| |
Fires immediately after a role as been removed from a user.
|wp-includes/class-wp-user.php: WP_User::update_user_level_from_caps()|| |
Update the maximum user level for the user.
|wp-includes/class-wp-user.php: WP_User::get_role_caps()|| |
Retrieves all of the capabilities of the user’s roles, and merges them with individual user capabilities.
|wp-includes/plugin.php: do_action()|| |
Execute functions hooked on a specific action hook.
|wp-includes/user.php: update_user_meta()|| |
Update user meta field based on user ID.