跳到内容

CodeCave Admin Security Auditor

v1.2.4

CodeCave · 2025年11月5日 上架

Track and display the last login time for each user in the WordPress admin users table.

正在使用
10 以下
评分
暂无
累计下载
623
最近更新
2025年11月20日
需要 WordPress 5.8+已测试到 6.8.13PHP 7.4+

贡献者

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums