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

Translate “User ID” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by 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.