Title: User ID
Author: Aditya Shah
Published: <strong>30 November 2018</strong>
Last modified: 16 Marz 2026

---

Search plugins

![](https://ps.w.org/user-id/assets/icon-256x256.png?rev=3483425)

# User ID

 By [Aditya Shah](https://profiles.wordpress.org/ethicaladitya/)

[Download](https://downloads.wordpress.org/plugin/user-id.2.0.0.zip)

 * [Details](https://lmo.wordpress.org/plugins/user-id/#description)
 * [Reviews](https://lmo.wordpress.org/plugins/user-id/#reviews)
 *  [Installation](https://lmo.wordpress.org/plugins/user-id/#installation)
 * [Development](https://lmo.wordpress.org/plugins/user-id/#developers)

 [Support](https://wordpress.org/support/plugin/user-id/)

## Description

User ID has evolved from a simple column displaying user IDs into the **most comprehensive
Support and Debug Toolkit** for WordPress available. Whether you are a site administrator,
support staff, or developer, this plugin equips you with everything needed to inspect,
track, impersonate, and debug WordPress users efficiently.

While preserving the core lightweight “User ID” column in the Users table and the`[
user-id]` shortcode for complete backward compatibility, the 2.0.0 update introduces
powerful, modular features designed to supercharge your WordPress user management
workflow.

### Core Features

 * **User ID Column**: Instantly see and copy User IDs directly from the WordPress
   Users table. Stop searching for ways to find WordPress user IDs.
 * **Deep User Search**: Stop relying on basic wp-admin search. Our advanced search
   interface is capable of searching users by ID, email, username, and even hidden
   user meta values inside the `wp_usermeta` table.
 * **WordPress User Inspector**: A detailed view of any user account exhibiting 
   basic information, a full list of their capabilities, and a raw User Meta table
   viewer to debug exactly what custom fields a user has attached.
 * **Secure User Impersonation**: Need to test what a specific user is experiencing?
   Securely log in as any user (impersonate user) with a single click, without needing
   their password. Includes a persistent return-to-admin button and logs the action
   for security.
 * **User Activity Log & Login Tracker**: Keep track of user history. View log entries
   of when users log in, log out, update their profiles, or change passwords. View
   the last 10 logins directly on their User Debug pane.
 * **Support Mode**: An optional setting that enables a quick-access “User Debug”
   dropdown in the WordPress Admin Bar, improving support agent efficiency.

### Developer Extensibility

 * **WP-CLI Support**: Use `wp user-id inspect <id>` to instantly retrieve user 
   data and capabilities from the command line without opening the dashboard.
 * **REST API Endpoints**: Integrates seamlessly with the wp-json endpoints via `/
   wp-json/user-id/v1/inspect/<id>`.
 * **Filters & Actions**: Leverage hooks like `user_id_activity` and `apply_filters('
   user_id_meta_keys')` to extend the toolkit tracker functionality with your own
   custom events.

## Installation

 1. Upload the `user-id` directory to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Access the toolkit under **Tools → User Debug**, or enable **Support Mode** via
    Settings → User ID.

## FAQ

### Does the old [user-id] shortcode still work?

Yes! Backward compatibility is guaranteed. The shortcode `[user-id]` will continue
to display the currently logged-in user’s ID as it always has.

### How do I search by user meta?

Navigate to Tools → User Debug. Use the **Deep User Search** box and simply enter
the meta value you’re looking for. The system will search standard fields first,
and if nothing is found, it will deep-dive into the usermeta table.

### Is impersonation secure?

Yes. Only users with `manage_options` (typically Administrators) can use the impersonation
feature. Super Admins on Multisite and other Administrators cannot be impersonated
to prevent privilege escalation.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

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

Contributors

 *   [ Aditya Shah ](https://profiles.wordpress.org/ethicaladitya/)

[Translate “User ID” into your language.](https://translate.wordpress.org/projects/wp-plugins/user-id)

### Interested in development?

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

## Changelog

#### 2.0.0

 * Major Feature Update: The plugin has been completely rewritten into an OOP architecture.
 * Feature: User Inspector & Deep User Search added under Tools -> User Debug.
 * Feature: Secure User Impersonation with quick ‘Return to Admin’ button.
 * Feature: Login History and Activity Tracking tables added.
 * Feature: WP-CLI and REST API support added.
 * Enhancement: Added copy-to-clipboard functionality for the User ID column.
 * Enhancement: Added User ID to the User Profile edit screens.

#### 1.0

 * Initial Release. Shows user ID in front-end using shortcode. Displays User ID
   in Admin Panel.

## Meta

 *  Version **2.0.0**
 *  Last updated **3 weeks ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.0 or higher **
 *  Tested up to **6.9.4**
 *  PHP version ** 8.0 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/user-id/)
 * Tags
 * [Activity Log](https://lmo.wordpress.org/plugins/tags/activity-log/)[debug](https://lmo.wordpress.org/plugins/tags/debug/)
   [developer-tools](https://lmo.wordpress.org/plugins/tags/developer-tools/)[user id](https://lmo.wordpress.org/plugins/tags/user-id/)
 *  [Advanced View](https://lmo.wordpress.org/plugins/user-id/advanced/)

## Ratings

No reviews have been submitted yet.

[Add my review](https://wordpress.org/support/plugin/user-id/reviews/#new-post)

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

## Contributors

 *   [ Aditya Shah ](https://profiles.wordpress.org/ethicaladitya/)

## Support

Got something to say? Need help?

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

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://theadityashah.com)