User list
Each row in the user table shows:- Avatar (Gravatar at 40 px), display name, and login username
- A You badge on the currently logged-in admin’s row
- Email address
- Role badge(s) — color-coded by role (administrator, editor, author, contributor, subscriber)
- Registered date
- Posts count (published posts authored by this user)
- Actions — Rename, Role, Login as, Delete
Searching and filtering
Use the Search users field to find users by login, email, or display name. Press Enter or click Search to apply. Use the role dropdown to filter the list to a single role. The dropdown is populated dynamically from all roles registered in WordPress (including custom roles added by other plugins or themes).Changing a user’s role
Select a new role
A dialog opens with a dropdown listing all available WordPress roles. Select the desired role.
You cannot change your own role. The Role button is disabled on your own row.
Renaming a user’s login username
WordPress does not provide a built-in way to changeuser_login. The User Manager performs a direct database update to wp_users.user_login and clears the user cache afterward.
Enter the new username
A dialog shows the current username and an input for the new one. The new username must pass WordPress’s
sanitize_user() and validate_username() checks — no spaces allowed.You cannot rename your own account. The Rename button is disabled on your own row.
Login As (admin impersonation)
The Login As feature lets you switch to any other user’s session without knowing their password. It is designed for debugging and client support.How it works
- When you click Login as, the server generates a 32-character one-time token.
- The token is stored in a WordPress transient with a 5-minute expiry tied to the target user’s ID.
- A temporary login URL is returned containing the
wmp_login_asuser ID andwmp_tokenparameters. - The browser redirects to that URL. WordPress validates the token, sets the session for the target user, and then deletes the transient so the token cannot be reused.
- The original admin’s user ID is stored in the target user’s meta (
wmp_original_admin) so the session origin is traceable.
Using Login As
Click Login as
Click the Login as button (blue) on the target user’s row. The button is disabled on your own row.
Wait for the redirect
The page shows a “Redirecting to login…” toast and then navigates to the WordPress admin as the target user.
Work as the user
You are now logged in as the target user. Perform any needed testing or support actions.
Deleting a user
Deleted users’ posts are reassigned to the site administrator using WordPress’s built-in
wp_delete_user() function. You cannot delete your own account.
The User Manager fetches up to 50 users per search request. For sites with a very large number of users, use the role filter or search field to locate the user before performing any action.
