Title: User ID
Author: Aditya Shah
Published: <strong>30 Tháng 11, 2018</strong>
Last modified: 16 Tháng 3, 2026

---

Tìm kiếm plugin

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

# User ID

 Bởi [Aditya Shah](https://profiles.wordpress.org/ethicaladitya/)

[Tải về](https://downloads.wordpress.org/plugin/user-id.2.0.0.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/user-id/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/user-id/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/user-id/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/user-id/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/user-id/)

## Mô tả

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.

## Cài đặt

 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.

## Hỏi đáp

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

## Đánh giá

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

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

“User ID” 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

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

[Dịch “User ID” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/user-id)

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

[Duyệt code](https://plugins.trac.wordpress.org/browser/user-id/), check out [SVN repository](https://plugins.svn.wordpress.org/user-id/),
hoặc theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/user-id/)
qua [RSS](https://plugins.trac.wordpress.org/log/user-id/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 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

 *  Phiên bản **2.0.0**
 *  Cập nhật lần cuối **4 tháng trước**
 *  Số lượt cài đặt **Ít hơn 10**
 *  Phiên bản WordPress ** 6.0 hoặc cao hơn **
 *  Đã kiểm tra lên đến **6.9.4**
 *  Phiên bản PHP ** 8.0 hoặc cao hơn **
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/user-id/)
 * Thẻ
 * [Activity Log](https://vi.wordpress.org/plugins/tags/activity-log/)[debug](https://vi.wordpress.org/plugins/tags/debug/)
   [developer-tools](https://vi.wordpress.org/plugins/tags/developer-tools/)[user id](https://vi.wordpress.org/plugins/tags/user-id/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/user-id/advanced/)

## Đánh giá

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

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

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/user-id/reviews/)

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

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

## Hỗ trợ

Các lỗi đã xử lý trong vòng hai tháng gần đây:

     0 trên 1

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/user-id/)

## Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

 [ Ủng hộ plugin này ](https://theadityashah.com)