Skip to content
WordPress.org

Testing Rosetta

  • Themes
  • Plugins
    • Documentation
    • Forums
  • About
  • Get WordPress
Get WordPress
WordPress.org

Plugin Directory

BytNexo User Switcher

  • Submit a plugin
  • My favorites
  • Log in
  • Submit a plugin
  • My favorites
  • Log in

BytNexo User Switcher

By BytNexo
Download
  • Details
  • Reviews
  • Installation
  • Development
Support

Description

BytNexo User Switcher is the most powerful WordPress user switching plugin that lets administrators and authorized roles instantly switch between user accounts. Test user roles, debug frontend issues, provide customer support, and switch back to your admin account with just one click.

Enterprise-Grade Features Now Available 100% Free

We’ve included premium features that other plugins charge for, making this the most comprehensive free user switching solution available:

  • Preview (Read-Only) Mode – New in version 1.2.0! When enabled, all forms become read-only when you switch to a user. This prevents accidental data modifications while testing user accounts. Perfect for debugging without the risk of changing customer data.You can enable and disable it from setting.
  • Role-Based Access Control – Grant switching permissions to Editors, Authors, Contributors, or Subscribers. Administrator access is always enabled by default.
  • Floating Switch Back Button – A fully customizable button appears when you switch users. Position it at Bottom Left, Bottom Right, Top Left, or Top Right for easy access.
  • Complete Button Customization – Change background color, button text, text color, hover effects, padding, border radius, and font size without any CSS knowledge.
  • Avatar Integration – Display user avatars inside switch buttons with customizable avatar sizes for better visual identification.
  • Smart Redirect Rules – Set custom Admin Redirect URLs (where you land after switching) and Logout Redirect URLs (destination after ending a switched session).
  • WooCommerce Cart Preservation – Prevent customer carts from being cleared when switching to them for support, preserving their shopping experience.
  • Form Protection – Preview mode automatically disables all forms including checkout, profile updates, comments, and AJAX submissions to prevent accidental changes.

Core Features

  • Switch to any user account instantly without manual login
  • Return to original admin account with one click via admin bar or floating button
  • User profile page switching option
  • Full WooCommerce integration with order page switching
  • No database modifications – uses secure cookie-based sessions
  • Lightweight and high-performance
  • Multi-site compatible
  • Respects all WordPress authentication hooks and security plugins

Perfect For

  • Debugging user-specific issues
  • Testing different user roles and frontend experiences
  • Providing customer support without asking for passwords
  • Managing WooCommerce and membership accounts
  • Quality assurance testing
  • Training and demonstration purposes

Privacy & Security

This plugin:
– Does not collect any user data
– Does not send data to external servers
– Uses secure cookies for session management
– Automatically clears session data
– Respects WordPress authentication and security systems
– Follows WordPress coding standards and security best practices
– Uses nonces for all actions to prevent CSRF attacks
– Implements proper capability checks and Role-Based Access Control
– Preview Mode adds an additional layer of protection against accidental data modifications
– All form submissions in preview mode are blocked at both JavaScript and PHP levels

Support

For support, bug reports, and feature requests, please visit:
https://wordpress.org/support/plugin/bytnexo-user-switcher/

If you find this plugin helpful, please consider leaving a review:
https://wordpress.org/support/plugin/bytnexo-user-switcher/reviews/#new-post

Screenshots

  • Settings Page – Configure role permissions, button customization, and preview mode options
  • Switch To link inside Users list (Users → All Users)
  • Switch back link in the admin bar
  • Floating Switch Back Button – Customizable position with avatar support
  • Switch option in user profile edit screen
  • Switch to Customer button in WooCommerce orders

Installation

You can install this plugin in two ways: directly from the WordPress Plugin Directory or manually.

Method 1: Install from WordPress Dashboard (Recommended)

  1. Go to Plugins → Add New in your WordPress admin dashboard
  2. Search for “BytNexo User Switcher”
  3. Click Install Now, then Activate

Method 2: Manual Installation

  1. Download the plugin ZIP file
  2. Upload the plugin folder to /wp-content/plugins/
  3. Activate the plugin from the Plugins menu

Quick Start Guide

  1. Go to Settings → BytNexo User Switcher to configure role permissions, button styles, and redirects
  2. Navigate to Users → All Users
  3. Click “Switch To” next to any user
  4. You will be instantly logged in as that user
  5. To return, click “Switch back to” in the admin bar or use the floating button

FAQ

Who can switch users?

By default, only users with edit_user capability (Administrators) can switch. You can now grant switching access to Editors, Authors, Contributors, and Subscribers via Settings → BytNexo User Switcher.

What is Preview Mode and how does it work?

Preview Mode is a safety feature that prevents accidental data modifications when testing user accounts. When enabled, all forms become read-only when you switch to a user. This includes WooCommerce checkout, profile updates, comment forms, and any other form submissions. A visual banner appears at the top of the page to indicate you’re in read-only mode, and a popup message appears if you try to submit any form.

When should I use Preview Mode?

Use Preview Mode when you need to test how a user experiences your site but don’t want to risk accidentally modifying their data. It’s perfect for debugging, quality assurance, training, or any situation where you want to view the site as another user without making changes.

Will Preview Mode affect the original admin account?

No. Preview Mode only applies when you’re switched to another user account. Your original admin account retains full editing capabilities. When you switch back, the preview mode automatically ends.

Where is the switch option located?

  1. Users → All Users page: “Switch To” link next to each user
  2. User Profile edit screen: “Switch To User” button
  3. WooCommerce Orders: “Switch to Customer” button

How do I customize the Switch Back button?

Go to Settings → BytNexo User Switcher. You can change the color, size, padding, border radius, position, and even enable avatar display. All changes are instantly previewed in the settings panel.

Can I preserve the WooCommerce cart when switching?

Yes. Enable “Preserve WooCommerce cart on switch” in the settings. This is essential for support agents troubleshooting cart issues without destroying customer cart data.

Is this plugin compatible with WooCommerce and membership plugins?

Yes, it works seamlessly with WooCommerce, Easy Digital Downloads, MemberPress, and most membership and e-commerce plugins.

How secure is this plugin?

This plugin follows WordPress security best practices:
– Uses WordPress nonces for all actions to prevent CSRF attacks
– Role-Based Access Control prevents unauthorized switching
– Cannot switch to your own account
– Uses WordPress’s built-in authentication system
– Session-based switching with secure cookies
– Triggers all WordPress authentication hooks
– Automatically clears session data on logout/login
– Preview Mode adds an extra layer of protection against data changes

Will this plugin slow down my site?

No. The plugin is extremely lightweight and uses minimal resources. It only loads additional assets when you’re actually switched to a user, ensuring optimal performance for regular visitors.

Does it work with multi-site networks?

Yes, BytNexo User Switcher is fully compatible with WordPress Multi-site installations.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“BytNexo User Switcher” is open source software. The following people have contributed to this plugin.

Contributors
  • BytNexo

Translate “BytNexo User Switcher” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

= 1.2.0 – 2026-03-24 =
* NEW: Preview (Read-Only) Mode – Prevent accidental data modifications when testing user accounts
* NEW: Auto-disable all forms including checkout, profile updates, comments, and AJAX submissions
* NEW: Visual banner indicator when preview mode is active
* NEW: User-friendly popup messages for blocked form submissions
* NEW: PHP-level form submission blocking with nonce verification
* NEW: AJAX form submission blocking for WooCommerce and dynamic forms
* SECURITY: Added nonce verification for all form submissions
* SECURITY: Enhanced input sanitization and validation
* FIX: Resolved WordPress coding standards warnings for undefined array indexes
* IMPROVEMENT: Better code organization and WooCommerce cart handling

= 1.1.1 – 2026-03-15 =
* Assets files updated

= 1.1.0 – 2026-02-20 =
* NEW: Role-Based Access Control (RBAC). Choose which roles (Editor, Author, Contributor, Subscriber) can switch users.
* NEW: Floating Switch Back Button. Fully customizable position (Bottom Left, Bottom Right, Top Left, Top Right).
* NEW: Button Style Customizer. Change background color, button text, text color, hover color, padding, border radius, and font size.
* NEW: Avatar support inside switch buttons. Customize avatar size.
* NEW: Admin Redirect URL setting. Redirect switched-in users to a specific page.
* NEW: Logout Redirect URL setting. Custom destination after logging out from a switched session.
* NEW: WooCommerce Cart Preservation. Prevent cart data loss during customer support sessions.
* ENHANCEMENT: Added Settings page under WordPress Settings menu.
* ENHANCEMENT: Improved code performance and security hardening.

= 1.0.6 =
* Documentation Update

= 1.0.5 =
* Security update

= 1.0.4 =
* Retagging version 1.0.3 with correct version number

= 1.0.3 =
* Improve plugin tags for better discoverability

= 1.0.2 =
* Improved plugin description and documentation
* Optimized readme for WordPress search visibility

= 1.0.1 =
* Initial release
* Core switching functionality
* Admin toolbar integration
* User profile switching
* WooCommerce integration
* Multi-site support

Meta

  • Version 1.2.0
  • Last updated 1 week ago
  • Active installations 10+
  • WordPress version 5.8 or higher
  • Tested up to 6.9.4
  • PHP version 7.4 or higher
  • Language
    English (US)
  • Tags
    impersonate-userlogin as userswitch user
  • Advanced View

Ratings

No reviews have been submitted yet.

Add my review

See all reviews

Contributors

  • BytNexo

Support

Got something to say? Need help?

View support forum

  • About
  • News
  • Hosting
  • Privacy
  • Showcase
  • Themes
  • Plugins
  • Patterns
  • Learn
  • Support
  • Developers
  • WordPress.tv ↗
  • Get Involved
  • Events
  • Donate ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Testing Rosetta

  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Visit our Facebook page
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
Code is Poetry.
The WordPress® trademark is the intellectual property of the WordPress Foundation.