跳至内容
WordPress.org

China 简体中文

  • 主题
  • 插件
  • 新闻
    • 文档
    • 论坛
  • 关于
  • 获取 WordPress
获取 WordPress
WordPress.org

Plugin Directory

Last Login Info

  • 提交插件
  • 我的收藏
  • 登录
  • 提交插件
  • 我的收藏
  • 登录

Last Login Info

作者:Hardik Kumar
下载
  • 详情
  • 评价
  • 安装
  • 开发进展
支持

描述

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.

安装

  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.

常见问题

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.

评价

Super helpful

Gaurav Oza 2025 年 4 月 23 日 1 回复
I used your plugin and it’s absolutely awesome super helpful, easy to use, and saved me tons of time.
阅读所有1条评价

贡献者及开发者

「Last Login Info」是开源软件。 以下人员对此插件做出了贡献。

贡献者
  • Hardik Kumar

帮助将「Last Login Info」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志。

更新日志

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.

额外信息

  • 版本 2.0.0
  • 最后更新:12 月前
  • 活跃安装数量 不到10
  • WordPress 版本 5.5 或更高版本
  • 已测试的最高版本为 6.8.5
  • PHP 版本 7.2 或更高版本
  • 语言
    English (US)
  • 标签
    adminlast loginloginuser managementusers
  • 高级视图

评级

5 星(最高 5 星)。
  • 1 条 5 星评价 5 星 1
  • 0 条 4 星评价 4 星 0
  • 0 条 3 星评价 3 星 0
  • 0 条 2 星评价 2 星 0
  • 0 条 1 星评价 1 星 0

Your review

查看全部评论

贡献者

  • Hardik Kumar

支持

有话要说吗?是否需要帮助?

查看支持论坛

  • 关于
  • 新闻
  • 主机
  • 隐私
  • 陈列窗
  • 主题
  • 插件
  • 区块样板
  • 学习
  • 支持
  • 开发者
  • WordPress.tv ↗︎
  • 参与
  • 活动
  • 捐赠 ↗
  • 未来五分计划
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

China 简体中文

  • 关注我们的 X(原 Twitter)账号
  • 访问我们的 Bluesky 账号
  • 关注我们的 Mastodon 账号
  • 访问我们的 Threads 账号
  • 访问我们的 Facebook 公共主页
  • 关注我们的 Instagram 账号
  • 关注我们的 LinkedIn 主页
  • 访问我们的 TikTok 账号
  • 访问我们的 YouTube 频道
  • 访问我们的 Tumblr 账号
代码如诗
The WordPress® trademark is the intellectual property of the WordPress Foundation.