User Switching

User Switching

Instant switching between user accounts in WordPress.
Rating:
4.9
Active Installations:
200000+
Last Updated:
Feb 21, 2024
WordPress Version:
5.6 or higher
Tested up to:
6.4.4

Quick User Switching

Instantly swap between user accounts.

This plugin allows you to switch between user accounts in WordPress with just one click. It's perfect for administrators who need to quickly move between multiple accounts, whether it's for helping customers on WooCommerce sites, testing environments, or managing membership sites.

This plugin allows you to quickly swap between user accounts in WordPress at the click of a button. You'll be instantly logged out and logged in as your desired user. This is handy for testing environments, for helping customers on WooCommerce sites, or for any site where administrators need to switch between multiple accounts.

Enhanced User Management

Efficiently manage user accounts.

1.7.3 (21 February 2024)

  • Confirm support for PHP 8.3
  • Fix compatibility with BuddyPress version 12
  • Add configuration for the Live Preview feature on wordpress.org

1.7.2 (16 November 2023)

  • Confirm support for WordPress 6.4
  • Reinstate the missing plugin readme file

1.7.1 (16 November 2023)

  • Fix the redirect type parameter passed to the user_switching_redirect_to filter
  • Increase the minimum supported version of PHP to 7.4

1.7.0 (30 July 2022)

  • Redirect to the current post, term, user, or comment being edited when switching off
  • Clean up some user-facing messages
  • Apply basic styling to the Switch Back link that appears in the footer
  • Use a better placement for the Switch To menu on bbPress profiles
  • Use a more appropriate HTTP response code if switching off fails
  • Exclude .editorconfig from dist ZIP

1.6.0 (24 June 2022)

  • Add a ‘Switch To’ link to the order screen in WooCommerce
  • Add a ‘Switch back’ link to the My Account screen and the login screen in WooCommerce

1.5.8 (2 October 2021)

  • Avoid a fatal if the interim-login query parameter is present on a page other than wp-login.php.

1.5.7 (12 May 2021)

  • Fix some issues that could lead to PHP errors given a malformed cookie.
  • Fix documentation.

1.5.6 (18 September 2020)

  • Add a class to the table row on the user edit screen.
  • Updated docs.

1.5.5 (22 June 2020)

  • Added the user_switching_in_footer filter to disable output in footer on front end.
  • Documentation additions and improvements.

1.5.4 (7 February 2020)

  • Fix a cookie issue caused by Jetpack 8.1.1 which prevented switching back to the original user.

1.5.3 (5 November 2019)

  • Remove usage of a method that’s been deprecated in WordPress 5.3

1.5.2 (16 August 2019)

  • Set the correct lang attribute on User Switching’s admin notice.
  • Move the WooCommerce session forgetting to an action callback so it can be unhooked if necessary.

1.5.1 (16 June 2019)

  • Add appropriate HTTP response codes to the error states.
  • Display User Switching’s messages in the original user’s locale.
  • Increase the priority of the hook that sets up the cookie constants. See #40.
  • Don’t attempt to output the ‘Switch To’ link on author archives when the queried object isn’t a user. See #39.

1.5.0 (23 March 2019)

  • Add support for forgetting WooCommerce sessions when switching between users. Requires WooCommerce 3.6+.

1.4.2 (13 February 2019)

  • Don’t attempt to add the Switch To link to the admin toolbar when viewing an author archive in the admin area. This prevents a fatal error occurring when filtering custom post type listing screens by authors in the admin area.

1.4.1 (2 February 2019)

  • Add a Switch To link to the Edit User admin toolbar menu when viewing an author archive.
  • Add a Switch back link to the Edit User admin toolbar menu when viewing an author archive and you’re already switched.

1.4.0 (17 September 2018)

  • Add support for user session retention, reuse, and destruction when switching to and back from other user accounts.
  • Add support for the switch_users meta capability for fine grained control over the ability to switch user accounts.
  • More code and documentation quality improvements.

1.3.1 (24 May 2018)

  • Add support for the X-Redirect-By header in WordPress 5.0.
  • Allow User Switching’s admin notices to be dismissed.
  • Introduce a privacy statement.

1.3.0 (9 November 2017)

  • Update the BuddyPress compatibility.
  • Various code and inline docs improvements.

1.2.0 (29 September 2017)

  • Improve the Switch Back functionality when the interim login window is shown.
  • Always show the Switch Back link in the Meta widget if it’s present.

1.1.0 (7 September 2017)

  • Introduce a user_switching_switched_message filter to allow customisation of the message displayed to switched users in the admin area.
  • Switch to safe redirects for extra paranoid hardening.
  • Docblock improvements.
  • Coding standards improvements.

1.0.9 (14 July 2016)

  • Remove the bundled languages in favour of language packs from translate.wordpress.org.

1.0.8 (14 July 2016)

  • Chinese (Taiwan) and Czech translations.
  • Updated Dutch, Spanish, Hebrew, and German translations.
  • Add an ID attribute to the links that User Switching outputs on the WordPress login screen, BuddyPress screens, and bbPress screens.
  • Avoid a deprecated argument notice when the user-actions admin toolbar node has been removed.

1.0.7 (14 July 2016)

  • Azerbaijani, Danish, and Bosnian translations.
  • Add back the ‘User Switching’ heading on the user profile screen.
  • Correct the value passed to the $old_user_id parameter of the switch_back_user hook when a user has been switched off. This should be boolean false rather than 0.
  • Docblocks for actions and filters.
  • More code standards tweaks.

1.0.6 (14 July 2016)

  • Correct the values passed to the switch_back_user action when a user switches back.
  • More code standards tweaks.

1.0.5 (14 July 2016)

  • Norwegian translation by Per Søderlind.
  • Code standards tweaks.

1.0.4 (14 July 2016)

  • Support for the new logout_redirect and removable_query_args filters in WordPress 4.2.

1.0.3 (14 July 2016)

  • Croation translation by Ante Sepic.
  • Avoid PHP notices caused by other plugins which erroneously use boolean true as a capability.

1.0.2 (14 July 2016)

  • Turkish translation by Abdullah Pazarbasi.
  • Romanian translation by ArianServ.
  • Dutch translation by Thom.
  • Greek translation by evigiannakou.
  • Bulgarian translation by Petya Raykovska.
  • Finnish translation by Sami Keijonen.
  • Italian translation by Alessandro Curci and Alessandro Tesoro.
  • Updated Arabic, Spanish, German, and Polish translations.

1.0.1 (14 July 2016)

  • Shorten the names of User Switching’s cookies to avoid problems with Suhosin’s over-zealous default rules.
  • Add backwards compatibility for the deprecated OLDUSER_COOKIE constant.

Easily switch between users

By Auke Piersma (aukepiersma) on March 18, 2024

I regularly use this plugin to check what capabilities a specific user has. This plugin is especially useful with custom user roles and capabilities. And when providing telephone support, it is sometimes nice to switch to a customer's user. So that you can see the same thing as the person you are calling with.

easy to use

By nayeem33 on March 2, 2024

Thank you so much for making such a great plugin.

Well done

By milanmaynardtmp on February 27, 2024

Very helpful << THANK YOU SO MUCH >>

This is awesome

By Netz on February 21, 2024

So easy - So good - I enjoy helping clients by using this simple tool.

Taking orders by phone... Everything!!!

Great Helper!

By gokcer on February 21, 2024

Great helper for testing multiple role settings.

Very helpful

By maynor96 on February 15, 2024

Time Saver

Well done, excellent product - But Needs LOGGING!

By thezman (theZman) on January 14, 2024

I rarely leave reviews, but am extremely impressed with this plugin. I recently patched up a site for a client that had a membership system which was hacked, we suspected this plugin was involved, however after finding the real problem (an insecure slideshow plugin, lol) we determined this plugin is not only SOLID its very well build from a security perspective.

We even tried hacking it, to no avail.

Disclaimer: I am not saying there are no vulnerabilities, I am saying we did basic penetration testing and could not find any.

Great Help

By Eric (eceleste) on December 7, 2023

I love User Switching when I'm building systems with complex permissions and membership. It helps me to impersonate another user and make sure the permissions I've given them are correct. Super plugin!

Great alternative to the one I previously used!

By tpphost on November 14, 2023

I was previously using a plugin from codecanyon for years. Suddenly it had some weird issue where it was not playing nicely with other plugins, and I had to ditch it.

Found this plugin and love it! My only suggestion would be to consider adding some CSS to the front end "switch" box, so its more obvious. I personally came up with this code to add into my theme for now.

/*** SWITCH USER ***/
p#user_switching_switch_on {
background-color: #efefef;
padding: 10px 25px !important;
border: solid grey 3px;
font-weight: bold;
text-transform: uppercase;
}

How is this plugin different from "User switching for WooCommerce" ?

By Most Interesting Man In The World (sepros) on August 30, 2023

How is this plugin different from "User switching for WooCommerce" ?
woocommerce.com/products/user-switching-for-woocommerce/

Try other plugins too!

Bosa Elementor Addons and Templates for WooCommerce

Elementor Addon with widgets and templates for WooCommerce.

Try Demo

User Switching

Instant switching between user accounts in WordPress.

Try Demo

Advanced Dynamic Pricing for WooCommerce

All discount types. WordPress Customizer supported.

Try Demo
Screenshots

Try User Switching With InstaWP

Contact Sales

Reach out to us to explore how InstaWP can benefit your business.

Request demo

Wondering how to integrate InstaWP with your current workflow? Ask us for a demo.