WordPress.org

Azərbaycan Türkcəsi

  • Themes
  • Plugins
  • News
  • Support
  • About
  • Contact
  • Get WordPress
Get WordPress
WordPress.org

Plugin Directory

Last Login Info

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

Last Login Info

By Hardik Kumar
Download
  • Details
  • Reviews
  • Installation
  • Development
Support

Description

Last Login Info is a lightweight plugin that helps administrators see when users last logged into the site.

This plugin adds a “Last Login” column to the Users table in the WordPress admin. It tracks and displays each user’s last login time, with either human-readable formatting (e.g., “2 days ago”) or full date/timestamp. The column is sortable, making it easier to find inactive users.

The settings page under Settings → Last Login Info allows you to customize the date format, exclude roles, export data to CSV, or reset all login records.

Features

  • Adds a new “Last Login” column to the Users admin screen.
  • Tracks login time on successful user login.
  • Choose between human-readable or full timestamp display.
  • Exclude specific roles from being tracked (e.g., Administrator).
  • Export all user logins to CSV.
  • Reset all login tracking data.
  • Sortable column by last login time.
  • Lightweight, no bloat.

Installation

  1. Upload the plugin files to the /wp-content/plugins/last-login-info directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Go to “Users” in the WordPress admin — you’ll see a new “Last Login” column.
  4. Visit Settings → Last Login Info to configure display and export options.

FAQ

Does this plugin track failed logins?

No. It only records successful logins.

Does it track logins via REST API or programmatic logins?

Only interactive logins via the WordPress login page (wp-login.php) or login form trigger the tracking.

Can I reset the login data?

Yes, go to Settings → Last Login Info and click the “Reset Login Data” button.

Can I export login data?

Yes, the plugin provides a CSV export of all users and their last login details.

Reviews

Super helpful

Gaurav Oza April 23, 2025 1 reply
I used your plugin and it’s absolutely awesome super helpful, easy to use, and saved me tons of time.
Read all 1 review

Contributors & Developers

“Last Login Info” is open source software. The following people have contributed to this plugin.

Contributors
  • Hardik Kumar

Translate “Last Login Info” 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

  • Added a Reset Login Data button to clear all last login data for users.
  • Added a CSV Export feature to download usernames, emails, roles, and last login times.

1.1.0

  • Added a settings page under “Settings → Last Login Info”.
  • Admins can now toggle between human-readable and full timestamp display.
  • Option to exclude specific user roles (e.g., Administrator, Editor) from login tracking.

1.0.0

  • Initial release.

Meta

  • Version 2.0.0
  • Last updated 4 weeks ago
  • Active installations Fewer than 10
  • WordPress version 5.5 or higher
  • Tested up to 6.8.1
  • PHP version 7.2 or higher
  • Language
    English (US)
  • Tags
    adminlast loginloginuser managementusers
  • Advanced View

Ratings

5 out of 5 stars.
  • 1 5-star review 5 stars 1
  • 0 4-star reviews 4 stars 0
  • 0 3-star reviews 3 stars 0
  • 0 2-star reviews 2 stars 0
  • 0 1-star reviews 1 star 0

Add my review

See all reviews

Contributors

  • Hardik Kumar

Support

Got something to say? Need help?

View support forum

  • 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

Azərbaycan Türkcəsi

  • 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
Code is Poetry.