Chuyển đến phần nội dung
WordPress.org

tiếng Việt

  • Giao diện
  • Plugin
  • Tin tức
    • Tài liệu hướng dẫn
    • Diễn đàn
  • Giới thiệu
  • Facebook #WPVN
  • Tải WordPress
Tải WordPress
WordPress.org

Plugin Directory

BytNexo User Switcher

  • Gửi một plugin
  • Yêu thích của tôi
  • Đăng nhập
  • Gửi một plugin
  • Yêu thích của tôi
  • Đăng nhập

BytNexo User Switcher

Bởi BytNexo
Tải về
  • Chi tiết
  • Đánh giá
  • Cài đặt
  • Nhà phát triển
Hỗ trợ

Mô tả

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

Ảnh màn hình

Settings Page - Configure role permissions, button customization, and preview mode options
Settings Page – Configure role permissions, button customization, and preview mode options
Switch To link inside Users list (Users <span aria-hidden=→ All Users)” class=”wp-image-9000002″ srcset=”https://i0.wp.com/ps.w.org/bytnexo-user-switcher/assets/screenshot-2.png?rev=3461197&w=300 300w, https://i0.wp.com/ps.w.org/bytnexo-user-switcher/assets/screenshot-2.png?rev=3461197&w=600 600w, https://i0.wp.com/ps.w.org/bytnexo-user-switcher/assets/screenshot-2.png?rev=3461197&w=900 900w” sizes=”(max-width: 599px) 50vw, 33vw” width=”1693″ height=”902″ loading=”eager” fetchpriority=”high” decoding=”async”/>
Switch To link inside Users list (Users → All Users)
Switch back link in the admin bar
Switch back link in the admin bar
Floating Switch Back Button - Customizable position with avatar support
Floating Switch Back Button – Customizable position with avatar support
Switch option in user profile edit screen
Switch option in user profile edit screen
Switch to Customer button in WooCommerce orders
Switch to Customer button in WooCommerce orders

Cài đặt

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

Hỏi đáp

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.

Đánh giá

Không có đánh giá nào cho plugin này.

Người đóng góp & Lập trình viên

“BytNexo User Switcher” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp
  • BytNexo

Dịch “BytNexo User Switcher” sang ngôn ngữ của bạn.

Muốn tham gia phát triển?

Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.

Nhật ký thay đổi

= 1.2.3 – 2026-05-13 =
NEW: Version fixes

= 1.2.2 – 2026-05-13 =
NEW: Documentation Updated

= 1.2.1 – 2026-05-13 =
NEW: Documentation Updated

= 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

  • Phiên bản 1.2.3
  • Cập nhật lần cuối 2 tháng trước
  • Số lượt cài đặt 30+
  • Phiên bản WordPress 5.8 hoặc cao hơn
  • Đã kiểm tra lên đến 6.9.4
  • Phiên bản PHP 7.4 hoặc cao hơn
  • Ngôn ngữ
    English (US)
  • Thẻ
    impersonate-userlogin as userswitch user
  • Nâng cao

Đánh giá

Chưa có đánh giá nào được gửi.

Your review

Xem tất cả đánh giá

Những người đóng góp

  • BytNexo

Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

Xem diễn đàn hỗ trợ

  • Giới thiệu
  • Tin tức
  • Lưu trữ
  • Quyền riêng tư
  • Trưng bày
  • Giao diện
  • Plugin
  • Mẫu khối
  • Học hỏi
  • Hỗ trợ
  • Nhà phát triển
  • WordPress.tv ↗
  • Tham gia
  • Sự kiện
  • Quyên góp ↗
  • Năm cho Tương lai
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

tiếng Việt

  • Truy cập tài khoản X (trước đây là Twitter) của chúng tôi
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Xem trang Facebook của chúng tôi
  • Truy cập tài khoản Instagram của chúng tôi
  • Truy cập tài khoản LinkedIn của chúng tôi
  • Visit our TikTok account
  • Truy cập kênh YouTube của chúng tôi
  • Visit our Tumblr account
Viết code như làm thơ.
The WordPress® trademark is the intellectual property of the WordPress Foundation.