Title: Login As User &amp; Customer Switcher
Author: craftyteam
Published: <strong>يونيو 6, 2026</strong>
Last modified: يونيو 8, 2026

---

Search plugins

![](https://ps.w.org/craftyteam-login-as-user/assets/banner-772x250.png?rev=3563125)

![](https://ps.w.org/craftyteam-login-as-user/assets/icon-256x256.png?rev=3563125)

# Login As User & Customer Switcher

 By [craftyteam](https://profiles.wordpress.org/craftyteam/)

[Download](https://downloads.wordpress.org/plugin/craftyteam-login-as-user.1.0.14.zip)

 * [Details](https://ary.wordpress.org/plugins/craftyteam-login-as-user/#description)
 * [Reviews](https://ary.wordpress.org/plugins/craftyteam-login-as-user/#reviews)
 *  [Installation](https://ary.wordpress.org/plugins/craftyteam-login-as-user/#installation)
 * [Development](https://ary.wordpress.org/plugins/craftyteam-login-as-user/#developers)

 [Support](https://wordpress.org/support/plugin/craftyteam-login-as-user/)

## Description

CraftyTeam Login As User helps site administrators securely log in as another WordPress
user or WooCommerce customer without asking for passwords.

The plugin adds a secure Login As User action to the WordPress Users screen, user
profile screens, WooCommerce order screens, and WooCommerce order lists. After switching
into a user account, the original administrator can return through a visible frontend
panel or the WordPress admin bar.

#### Key features

 * Login As User action for WordPress users.
 * WooCommerce customer Login As User action from order screens and order lists.
 * Secure return to the original administrator account.
 * Local audit log under Users > Login As Audit.
 * Signed session cookie and temporary transient-based session storage.
 * Administrator and super administrator target accounts are blocked by default.
 * No tracking, no third-party services, no external API calls.
 * Conditional admin and frontend CSS loading.

#### Security model

Only logged-in users with both `manage_options` and `edit_users` can start a Login
As User session. Switching to administrator or super administrator target accounts
is blocked by default and can only be changed intentionally through filters.

The plugin uses WordPress nonces, capability checks, signed cookies, temporary transients,
and safe redirect validation.

#### WooCommerce support

WooCommerce is optional. If WooCommerce is active, CraftyTeam Login As User adds
customer Login As User actions to supported WooCommerce order screens. If WooCommerce
is not active, the core WordPress user switching functionality continues to work.

### Advanced Filters

Developers can customize selected behavior through these filters:

 * `ctm_login_as_session_duration` – changes the temporary Login As session duration.
   Default: 12 hours.
 * `ctm_login_as_allow_admin_targets` – allows administrator or super administrator
   target accounts when intentionally enabled. Default: false.
 * `ctm_login_as_target_can_be_switched` – controls whether a specific target user
   can be accessed.
 * `ctm_login_as_default_redirect` – changes the default redirect after switching
   into a user account.
 * `ctm_login_as_woocommerce_redirect` – changes the redirect used by WooCommerce
   order actions.
 * `ctm_login_as_audit_limit` – changes the number of local audit events stored.
   Default: 150.

## Screenshots

[[

[[

## Installation

 1. Upload the plugin folder to `/wp-content/plugins/craftyteam-login-as-user/`, or
    install the plugin ZIP from Plugins > Add New > Upload Plugin.
 2. Activate CraftyTeam Login As User from the Plugins screen.
 3. Go to Users, a user profile, or a WooCommerce order and use the Login As User action.
 4. Use the frontend return panel or admin bar button to return to the original administrator
    account.

## FAQ

### Who can use Login As User?

Only logged-in users who have both `manage_options` and `edit_users` can start a
Login As User session.

### Can administrators switch into other administrator accounts?

No. Administrator and super administrator target accounts are blocked by default.
This is intentional.

### Does the plugin track users or send data to third parties?

No. The plugin does not track users, does not connect to third-party services, and
does not send data externally.

### Does WooCommerce have to be installed?

No. WooCommerce integration is optional. The plugin works for WordPress users even
when WooCommerce is not active.

### Where is the audit log stored?

The audit log is stored locally in the WordPress options table and is visible under
Users > Login As Audit.

## Reviews

![](https://secure.gravatar.com/avatar/fbe1ecc4230d1a0a4c0f7e8cd51e3b1036f43de45f595bfb1df29a292645bea1?
s=60&d=retro&r=g)

### 󠀁[Excellent and Very Useful Plugin](https://wordpress.org/support/topic/excellent-and-very-useful-plugin-11/)󠁿

 [andreidio](https://profiles.wordpress.org/andreidio/) يونيو 10, 2026

Excellent plugin! Login As User & Customer Switcher is extremely useful for managing
customer accounts, testing user experiences, and troubleshooting issues quickly.
It saves a lot of time, especially for WooCommerce stores, because you can easily
switch between users without needing their password. The interface is simple, the
plugin works smoothly, and it does exactly what it promises. A must-have tool for
developers, admins, and store owners who need to check orders, accounts, or customer
problems from the user’s perspective. Highly recommended!

![](https://secure.gravatar.com/avatar/82df4d1ef78c09095eb98b9ecbda41a338b1646fd1b4a92b453b104fbd6f1355?
s=60&d=retro&r=g)

### 󠀁[it is the best and we have been waiting for it for a long time](https://wordpress.org/support/topic/it-is-the-best-and-we-have-been-waiting-for-it-for-a-long-time/)󠁿

 [ilogic](https://profiles.wordpress.org/ilogic/) يونيو 8, 2026

I've been waiting for a plugin like this for a long time. It helps a lot when you
manage multiple clients or in an online store. It's perfect!

 [ Read all 2 reviews ](https://wordpress.org/support/plugin/craftyteam-login-as-user/reviews/)

## Contributors & Developers

“Login As User & Customer Switcher” is open source software. The following people
have contributed to this plugin.

Contributors

 *   [ craftyteam ](https://profiles.wordpress.org/craftyteam/)

[Translate “Login As User & Customer Switcher” into your language.](https://translate.wordpress.org/projects/wp-plugins/craftyteam-login-as-user)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/craftyteam-login-as-user/),
check out the [SVN repository](https://plugins.svn.wordpress.org/craftyteam-login-as-user/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/craftyteam-login-as-user/)
by [RSS](https://plugins.trac.wordpress.org/log/craftyteam-login-as-user/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.13

 * Loaded WooCommerce integration only when WooCommerce is active.
 * Hardened the Users table button for standard and multisite user lists.

#### 1.0.12

 * Prepared the plugin for WordPress.org submission.
 * Added a WordPress.org-compatible `readme.txt` file.
 * Added GPLv2-or-later license metadata.
 * Added uninstall cleanup for plugin options and active Login As session transients.
 * Updated default UI text and plugin naming for the public plugin directory.
 * Hardened inline SVG output through an explicit allowed HTML list.

#### 1.0.11

 * Applied the same discreet button design across Users, user profile, WooCommerce
   order, WooCommerce order list, and frontend return buttons.
 * Removed SVG icons from action buttons.
 * Used muted grey backgrounds, black text, and 5px border radius for action buttons.

#### 1.0.10

 * Aligned the Login As button in the Users table column with the row text.
 * Removed vertical centering that made the button appear visually displaced.

#### 1.0.9

 * Moved the Login As column to the first position in the Users table, immediately
   after the checkbox column.
 * Simplified the Users table button style.

#### 1.0.8

 * Improved the Users table layout and column sizing.
 * Refined the Users list button style.

#### 1.0.7

 * Adjusted the Users table layout so the Login As column appears closer to the 
   expected position.

#### 1.0.6

 * Moved the WooCommerce order Login As card with high priority inside the order
   details area.
 * Kept the dedicated Login As column in Users.

## Meta

 *  Version **1.0.13**
 *  Last updated **5 شهور ago**
 *  Active installations **10+**
 *  WordPress version ** 6.0 or higher **
 *  Tested up to **7.0.8**
 *  PHP version ** 7.4 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/craftyteam-login-as-user/)
 * Tags
 * [login as](https://ary.wordpress.org/plugins/tags/login-as/)[login as user](https://ary.wordpress.org/plugins/tags/login-as-user/)
   [switch user](https://ary.wordpress.org/plugins/tags/switch-user/)[user switching](https://ary.wordpress.org/plugins/tags/user-switching/)
   [woocommerce](https://ary.wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://ary.wordpress.org/plugins/craftyteam-login-as-user/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/craftyteam-login-as-user/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/craftyteam-login-as-user/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/craftyteam-login-as-user/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/craftyteam-login-as-user/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/craftyteam-login-as-user/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/craftyteam-login-as-user/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/craftyteam-login-as-user/reviews/)

## Contributors

 *   [ craftyteam ](https://profiles.wordpress.org/craftyteam/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/craftyteam-login-as-user/)