Admin Bar
When switched into another user, the WordPress admin bar displays:
| Element | Description |
|---|---|
| "Switching as [username]" | Text indicator showing the currently switched user |
| Switch Back button | Returns to the original admin account |
| Switch Off button | Logs out of the switched session without restoring the original admin (useful for testing logout flows) |
The admin bar controls are rendered for the switched user's session, so they appear in both the admin and on the frontend if the WordPress admin bar is visible.