Documentation
SwitchUser
Switching Back

Switching Back

Click Switch Back in the admin bar to return to your own account.

What Happens on Switch Back

  1. The switchuser_origin cookie is read and its signature is checked.
  2. You're logged back in as your original account.
  3. The cookie is cleared.
  4. The switchuser_switched_back action fires.
  5. You're taken to the WordPress dashboard.

Switch Back vs. Switch Off

ActionEffect
Switch BackReturns straight to your own account
Switch OffLogs out of the switched account and opens the login page. The login page shows "You switched off your session." with a Switch back now link

Use Switch Off to see the site as a logged-out visitor, then click Switch back now to return to your account.

If the session has expired (after the Session Duration), switching back is no longer possible - log in to your own account normally.