WordPress.org

Hong Kong 香港中文

  • 佈景主題
  • 外掛
  • News
  • Support
  • About
  • 重要通知
  • WordPress 常見問題
  • 團隊
  • 取得 WordPress
取得 WordPress
WordPress.org

Plugin Directory

Admin Users Logged In

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

Admin Users Logged In

由Marcel Pol
下載
  • 詳情
  • 評價
  • 安裝
  • 開發
支援

描述

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

Compatibility

This plugin is compatible with ClassicPress.

Contributions

This plugin is also available in
Codeberg.

螢幕截圖

  • 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' );
?>

評價

Perfect

Pieterjan Deneys 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個評價

貢獻者及開發者

“Admin Users Logged In” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者
  • Marcel Pol

Admin Users Logged In 外掛目前已有 2 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 Admin Users Logged In 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄。

修改日誌

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.

其它

  • Version 1.0.6
  • Last updated 8 個月之前
  • Active installations 100+
  • WordPress version 4.4 or higher
  • Tested up to 6.8.3
  • PHP version 7.0 or higher
  • Languages

    Dutch、Dutch (Belgium)、及 English (US).

    翻譯成你的語言

  • Tags
    dashboard widgetlast login
  • 進階顯示

評分

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

貢獻者

  • Marcel Pol

支援

有話想說?需要協助?

檢視支援論壇

  • 關於我們
  • 最新消息
  • 寄存
  • 隱私權
  • 展示網站
  • 佈景主題
  • 外掛
  • 區塊版面配置
  • Learn
  • 技術支援
  • 開發者資源
  • WordPress.tv ↗
  • 共同參與
  • Events
  • Donate ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Hong Kong 香港中文

  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • 訪問我們的 Facebook 專頁
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
代碼就是詩歌。