Skip to content
WordPress.org

Dzongkha

  • Themes
  • Plugins
  • News
  • Support
  • About
  • འབྲེལ་བ་འཐབ་ས།
  • Get WordPress
Get WordPress
WordPress.org

Plugin Directory

Cambia Utente

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

Cambia Utente

By Fabio Moro
Download
  • Details
  • Reviews
  • Installation
  • Development
Support

Description

Cambia Utente adds an admin screen that lists the site users and lets an
administrator log in as any of them with one click. It is handy for support and
debugging: you can check what a WooCommerce customer actually sees — active
orders, available downloads, account pages — without asking for their password.

How it works:

  • A top-level Cambia Utente menu (icon: people) is added to wp-admin.
  • The screen lists users with name and email and an Log in button each.
  • Clicking a button replaces your session with that user’s session and sends you
    to the site front page as that user.
  • To go back to your account, log out and log in again as administrator.

Security:

  • The screen and the switch action are restricted to users with the edit_users
    capability (administrators), customisable via the cambia_utente_capability filter.
  • Every switch is protected by a WordPress nonce.
  • The plugin stores no options, creates no tables and sends no data to external services.

Installation

  1. Upload the cambia-utente folder to /wp-content/plugins/, or install the
    plugin from the Plugins screen in WordPress.
  2. Activate the plugin through the “Plugins” menu in WordPress.
  3. Open the Cambia Utente menu in wp-admin and click Log in next to a user.

FAQ

Who can switch user?

Only logged-in administrators (users with the edit_users capability). You can
change the required capability with the cambia_utente_capability filter.

How do I switch back to my administrator account?

Log out and log back in as administrator. The plugin performs a one-way switch by
design and keeps no impersonation state.

Does it require WooCommerce?

No. It works with any WordPress users. It is especially useful together with
WooCommerce to inspect a customer’s orders and downloads.

Does the plugin send any data to external services?

No. Everything happens on your own site; no third party is contacted.

Reviews

Very good

ucciu སྤྱི་ཟླ་བཅུ་གཉིས་པ། 9, 2018
Nice plugin
Read all 1 review

Contributors & Developers

“Cambia Utente” is open source software. The following people have contributed to this plugin.

Contributors
  • Fabio Moro

Translate “Cambia Utente” into your language.

Interested in development?

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

Changelog

1.5

  • Security: capability check moved to edit_users, all input is unslashed and
    sanitised, and the nonce is verified before any action.
  • The user switch now runs on admin_init, clears the previous auth cookie and
    redirects after switching.
  • Output is fully escaped; the inline <style> block was moved to an enqueued
    stylesheet loaded only on the plugin page.
  • Added a guard against direct file access (ABSPATH check) and the
    cambia_utente_capability filter.
  • Fixed the user display name (was reading a non-existent property).
  • Completed the plugin header and rewrote the readme in English with a Stable tag
    and License URI (the previous readme had no Stable tag).

1.4

  • Previous public release.

Meta

  • Version 1.5
  • Last updated 1 week ago
  • Active installations Fewer than 10
  • WordPress version 6.5 or higher
  • Tested up to 7.0
  • PHP version 7.4 or higher
  • Language
    English (US)
  • Tags
    administratorcustomerloginuserswoocommerce
  • Advanced View

Ratings

5 out of 5 stars.
  • 1 5-star review 5 stars 1
  • 0 4-star reviews 4 stars 0
  • 0 3-star reviews 3 stars 0
  • 0 2-star reviews 2 stars 0
  • 0 1-star reviews 1 star 0

Your review

See all reviews

Contributors

  • Fabio Moro

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

Dzongkha

  • 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.