Documentation
SwitchGuard
Admin Bar

Admin Bar

When switched into another user, the WordPress admin bar displays:

ElementDescription
"Switching as [username]"Text indicator showing the currently switched user
Switch Back buttonReturns to the original admin account
Switch Off buttonLogs 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.