Title: Admin Users Logged In
Author: Marcel Pol
Published: <strong>2018 年 2 月 5 日</strong>
Last modified: 2026 年 1 月 10 日

---

搜尋外掛

![](https://ps.w.org/admin-users-logged-in/assets/icon-256x256.png?rev=1818906)

# Admin Users Logged In

 由 [Marcel Pol](https://profiles.wordpress.org/mpol/) 開發

[下載](https://downloads.wordpress.org/plugin/admin-users-logged-in.1.0.6.zip)

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

 [技術支援](https://wordpress.org/support/plugin/admin-users-logged-in/)

## 外掛說明

Dashboard widget that shows admin users and when they were last logged in.

#### Compatibility

This plugin is compatible with [ClassicPress](https://www.classicpress.net).

#### Contributions

This plugin is also available in
 [Codeberg](https://codeberg.org/cyclotouriste/admin-users-logged-in).

## 螢幕擷圖

 * [[
 * Dashboard widget with admin users and their last login.

## 安裝方式

#### Installation

 * Install the plugin through the admin page “Plugins”.
 * Alternatively, unpack and upload the contents of the zipfile to your ‘/wp-content/
   plugins/’ directory.
 * Activate the plugin through the ‘Plugins’ menu in WordPress.
 * Visit the Dashboard. That’s it.

#### PHP filters for Custom Roles

This first filter is for showing an additional role in the widget.

    ```
    <?php
        function my_auli_get_role__in( $role__in ) {
            $role__in[] = 'Subscriber';
            return $role__in;
        }
        add_filter( 'auli_get_role__in', 'my_auli_get_role__in' );
    ?>
    ```

This second filter is for who gets to see the widget.

    ```
    <?php
        function my_auli_show_for_role__in( $role__in ) {
            $role__in[] = 'Customrole';
            return $role__in;
        }
        add_filter( 'auli_show_for_role__in', 'my_auli_show_for_role__in' );
    ?>
    ```

## 使用者評論

![](https://secure.gravatar.com/avatar/ea5cf1a9df9bcd651321908528303a454c328977ac49b83465c61e850f4132b4?
s=60&d=retro&r=g)

### 󠀁[Perfect](https://wordpress.org/support/topic/perfect-8232/)󠁿

 [Pieterjan Deneys](https://profiles.wordpress.org/nekojonez/) 2021 年 6 月 2 日

Thanks to the easily editable language file, I was able to translate this plugin
to my wishes. 🙂 Edit: which is now possible! THANKS!

 [ 閱讀全部 1 則使用者評論 ](https://wordpress.org/support/plugin/admin-users-logged-in/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Admin Users Logged In〉的開發相關工作。

參與者

 *   [ Marcel Pol ](https://profiles.wordpress.org/mpol/)

〈Admin Users Logged In〉外掛目前已有 2 個本地化語言版本。 感謝[全部譯者](https://translate.wordpress.org/projects/wp-plugins/admin-users-logged-in/contributors)
為這個外掛做出的貢獻。

[將〈Admin Users Logged In〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/admin-users-logged-in)

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

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

## 變更記錄

#### 1.0.6

 * 2024-10-02
 * Loading plugin translations should be delayed until init action (in this case
   admin_init).
 * Use **DIR** for loading translations instead of dirname(**FILE**).
 * Better check for direct access of files.

#### 1.0.5

 * 2022-05-11
 * Add filter ‘auli_get_role__in’ for showing users with these roles.
 * Remove check for shown users based on capability.
 * Add filter ‘auli_show_for_role__in’ for allowing users to see this widget.
 * No need to check if function ‘current_user_can()’ exists.

#### 1.0.4

 * 2021-06-01
 * Support translations.

#### 1.0.3

 * 2021-05-31
 * Small updates from wpcs.

#### 1.0.2

 * 2018-02-06
 * Fix the location of closing (outside the loop).

#### 1.0.1

 * 2018-02-03
 * Only show the widget on capability ‘edit_posts’.

#### 1.0.0

 * 2018-01-18
 * First release.

## 中繼資料

 *  版本 **1.0.6**
 *  最後更新 **5 個月前**
 *  啟用安裝數 **100+**
 *  WordPress 版本需求 ** 4.4 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.9.4**
 *  PHP 版本需求 ** 7.0 或更新版本 **
 *  語言
 * [Dutch](https://nl.wordpress.org/plugins/admin-users-logged-in/)、[Dutch (Belgium)](https://nl-be.wordpress.org/plugins/admin-users-logged-in/)、
   及 [English (US)](https://wordpress.org/plugins/admin-users-logged-in/).
 *  [將這個外掛本地化為你的母語版本](https://translate.wordpress.org/projects/wp-plugins/admin-users-logged-in)
 * 標籤:
 * [dashboard widget](https://tw.wordpress.org/plugins/tags/dashboard-widget/)[last login](https://tw.wordpress.org/plugins/tags/last-login/)
 *  [進階檢視](https://tw.wordpress.org/plugins/admin-users-logged-in/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  1 個 5 星使用者評論     ](https://wordpress.org/support/plugin/admin-users-logged-in/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/admin-users-logged-in/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/admin-users-logged-in/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/admin-users-logged-in/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/admin-users-logged-in/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/admin-users-logged-in/reviews/#new-post)

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

## 參與者

 *   [ Marcel Pol ](https://profiles.wordpress.org/mpol/)

## 技術支援

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

 [檢視技術支援論壇](https://wordpress.org/support/plugin/admin-users-logged-in/)