parthrana Admin Login Activity Monitor
parthrana Admin Login Activity Monitor
Description
The Admin Login Activity Monitor is a lightweight, high-performance solution for monitoring user activity on your WordPress site.
This plugin adheres to all WordPress coding standards, using a modern object-oriented structure to ensure maximum compatibility and zero conflicts.
Key Features
- Accurate Tracking: Records the exact time of login upon successful authentication.
- Last Activity Tracking: Records the user’s most recent activity timestamp for enhanced monitoring.
- Admin Column Display: Adds a dedicated “Last Login” column to the Users -> All Users list.
- Human Readable Time: Displays time as “X minutes ago” with a hover tooltip showing the full date/time.
- Sortable Column: Allows administrators to sort users by their last login time (most recent or least recent).
- Efficient Cleanup: Includes a mandatory
uninstall.phproutine to delete all stored user meta data upon plugin deletion. - Internationalization Ready: Fully translatable using standard WordPress text domains.
Privacy Policy
Admin Login Activity Monitor is designed with privacy in mind.
- Data Collected: User ID, Last Login Timestamp, Last Activity Timestamp, and Last Login IP Address.
- Purpose: Security auditing and administrative monitoring.
- Data Storage: All data is stored locally in the WordPress
usermetatable. - Third Parties: No data is sent to external servers or third-party services.
- Cleanup: All collected data is permanently deleted from the database when the plugin is uninstalled.
Installation
- Upload the
parthrana-admin-login-activity-monitorfolder to the/wp-content/plugins/directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Go to Users -> All Users to view the new “Last Login” column.
- The plugin will begin tracking the login time for all subsequent user logins.
Faq
Yes. The plugin hooks into the standard WordPress login process, so the first login after activation will be recorded. Users who were already logged in or haven’t logged in since activation will show “Never Logged In.”
The column sorts numerically by the stored UNIX timestamp. By default, clicking the column header will sort users from Most Recently Logged In to Least Recently Logged In.
Reviews
Changelog
1.0.0
- Initial release with object-oriented structure.
- Implemented user login tracking using
wp_loginhook. - Added sortable
pralam_last_logincolumn to the Users list. - Included
uninstall.phpfor database cleanup.