Skip to content
WordPress.org

བོད་ཡིག

  • དཔེ་སྒྲོམ།
  • མཐུད་སྣེ།
  • News
  • ངེད་ཀྱི་སྐོར།
  • ཚོགས་པ།
  • Get WordPress
Get WordPress
WordPress.org

Plugin Directory

CodeCave Admin Security Auditor

  • Submit a plugin
  • My favorites
  • Log in
  • Submit a plugin
  • My favorites
  • Log in

CodeCave Admin Security Auditor

རྩོམ་པ་པོ། CodeCave
ཕབ་ལེན།
  • ཞིབ་ཕྲ།
  • གདེང་འཇོག
  • སྒྲིག་འཇུག
  • ཡར་རྒྱས།
རམ་འདེགས།

ཞིབ་བརྗོད།

CodeCave Admin Security Auditor is a lightweight plugin that helps you monitor user activity by tracking and displaying the last login time for each user in your WordPress site.

Features:

  • Automatically tracks the last login time for all users
  • Displays last login information in the WordPress admin users table
  • Sortable last login column for easy user management
  • Shows “Never” for users who haven’t logged in since plugin installation
  • Timezone-aware display (uses your WordPress timezone settings)
  • Clean uninstall – removes all data when plugin is deleted
  • Translation ready
  • No configuration needed – works out of the box

Use Cases:

  • Monitor user engagement and activity
  • Identify inactive user accounts
  • Security auditing and compliance
  • User account cleanup and maintenance
  • Track user adoption of your WordPress site

Privacy and Data:

This plugin stores the last login timestamp as user metadata in your WordPress database. No data is sent to external servers. When you uninstall the plugin, all stored data is automatically removed.

Developer Notes

Accessing Last Login Data Programmatically:

You can retrieve the last login timestamp for a user:

$auditor = CodeCave_Admin_Security_Auditor::get_instance();
$last_login = $auditor->get_last_login( $user_id );

if ( $last_login ) {
    echo 'Last login: ' . date( 'Y-m-d H:i:s', $last_login );
} else {
    echo 'Never logged in';
}

Hooks and Filters:

The plugin uses standard WordPress hooks and does not currently provide custom hooks. This may be added in future versions based on user feedback.

སྒྲིག་འཇུག

  1. Upload the codecave-admin-security-auditor folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Navigate to Users > All Users to see the Last Login column

That’s it! The plugin will automatically start tracking user logins.

FAQ

Does this plugin track login attempts or just successful logins?

The plugin only tracks successful logins. Failed login attempts are not recorded.

Will this plugin show login times for users who logged in before activation?

No, the plugin only tracks logins that occur after it has been activated. Existing users will show “Never” until they log in again.

Can I export the last login data?

The data is stored as WordPress user metadata and can be accessed programmatically or through database exports. Future versions may include export functionality.

Does this plugin work with custom login pages?

Yes, the plugin uses WordPress core hooks and will work with any login method that triggers the standard WordPress authentication process.

Will this plugin slow down my site?

No, the plugin is extremely lightweight and only updates a single database field when a user logs in. There is no impact on frontend performance.

Is this plugin GDPR compliant?

The plugin stores minimal data (a timestamp) for legitimate purposes (user management and security). However, you should review your own privacy policy and data retention practices to ensure GDPR compliance for your specific use case.

Can I customize the date format?

The current version uses WordPress timezone settings. Future versions may include format customization options.

གདེང་འཇོག

There are no reviews for this plugin.

བྱས་རྗེས་འཇོག་མཁན། & གསར་འབྱེད་པ།

“CodeCave Admin Security Auditor” is open source software. The following people have contributed to this plugin.

བྱས་རྗེས་འཇོག་མཁན།
  • CodeCave

ཁྱེད་ཀྱི་སྐད་ཡིག་ནང་ལ་ “CodeCave Admin Security Auditor” ཡིག་སྒྱུར་བྱོས།

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

དག་བཅོས་ཉིན་ཐོ།

1.2.4

  • Test

1.2.3

  • Test

1.2.2

  • Test latest + assets

1.2.1

  • Testing workflow updates.

1.2.0

  • Minor bump.

1.0.2

  • Second bump.

1.0.1

  • Bump version for automatic update prevent test.

1.0.0

  • Initial release
  • Track last login time for all users
  • Display last login in users table
  • Sortable last login column
  • Timezone-aware display
  • Clean uninstall

ཟུར་བརྗོད།

  • Version 1.2.4
  • Last updated ཟླ 3 སྔོན།
  • Active installations ཐེངས་ 10 ལས་ཉུང་བ།
  • WordPress version 5.8 ཡང་ན་དེ་ལས་མཐོ་བ།
  • Tested up to 6.8.3
  • PHP version 7.4 ཡང་ན་དེ་ལས་མཐོ་བ།
  • Language
    English (US)
  • Tags
    adminlast loginloginsecurityusers
  • མཐོ་རིམ་མཐོང་སྣང་།

གདེང་འཇོག

No reviews have been submitted yet.

ངའི་མཆན་ཁ་སྣོན།

See all reviews

བྱས་རྗེས་འཇོག་མཁན།

  • CodeCave

རམ་འདེགས།

Got something to say? Need help?

རམ་འདེགས་གླེང་སྟེགས་ལ་ལྟ།

  • About
  • News
  • Hosting
  • Privacy
  • Showcase
  • Themes
  • Plugins
  • Patterns
  • Learn
  • Support
  • Developers
  • WordPress.tv ↗
  • Get Involved
  • Events
  • Donate ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

བོད་ཡིག

  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Visit our Facebook page
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
ཚབ་ཨང་ནི་སྙན་ངག་གོ།