Title: CodeCave Admin Security Auditor
Author: CodeCave
Published: <strong>2025 年 11 月 5 日</strong>
Last modified: 2025 年 11 月 20 日

---

搜尋外掛

![](https://s.w.org/plugins/geopattern-icon/codecave-admin-security-auditor.svg)

# CodeCave Admin Security Auditor

 由 [CodeCave](https://profiles.wordpress.org/idmistir/) 開發

[下載](https://downloads.wordpress.org/plugin/codecave-admin-security-auditor.1.2.4.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/codecave-admin-security-auditor/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/codecave-admin-security-auditor/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/codecave-admin-security-auditor/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/codecave-admin-security-auditor/#developers)

 [技術支援](https://wordpress.org/support/plugin/codecave-admin-security-auditor/)

## 外掛說明

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.

## 常見問題集

### 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.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈CodeCave Admin Security Auditor〉的開發相關工作。

參與者

 *   [ CodeCave ](https://profiles.wordpress.org/idmistir/)

[將〈CodeCave Admin Security Auditor〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/codecave-admin-security-auditor)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/codecave-admin-security-auditor/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/codecave-admin-security-auditor/)，
或透過 [RSS](https://plugins.trac.wordpress.org/log/codecave-admin-security-auditor/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/codecave-admin-security-auditor/)。

## 變更記錄

#### 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

## 中繼資料

 *  版本 **1.2.4**
 *  最後更新 **6 個月前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 5.8 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.8.5**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/codecave-admin-security-auditor/)
 * 標籤:
 * [admin](https://tw.wordpress.org/plugins/tags/admin/)[last login](https://tw.wordpress.org/plugins/tags/last-login/)
   [login](https://tw.wordpress.org/plugins/tags/login/)[security](https://tw.wordpress.org/plugins/tags/security/)
   [users](https://tw.wordpress.org/plugins/tags/users/)
 *  [進階檢視](https://tw.wordpress.org/plugins/codecave-admin-security-auditor/advanced/)

## 評分

這個項目尚無任何評論記錄。

[Your review](https://wordpress.org/support/plugin/codecave-admin-security-auditor/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/codecave-admin-security-auditor/reviews/)

## 參與者

 *   [ CodeCave ](https://profiles.wordpress.org/idmistir/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/codecave-admin-security-auditor/)