[WordPress] 外掛分享: WP Last Login

首頁外掛目錄 › WP Last Login
WordPress 外掛 WP Last Login 的封面圖片
10,000+
安裝啟用
★★★☆☆
3.7/5 分(25 則評價)
17 天前
最後更新
問題解決
WordPress 6.5+ PHP 7.4+ v7 上架:2012-01-21

內容簡介

這個外掛為每個使用者概覽新增一個額外的欄位,顯示每個使用者的最後登入日期。
此外,使用者可以按照他們的最後登入日期進行排序。

翻譯

我非常樂意在收到新的本地語言時更新這個外掛!
目前可用語言:

阿拉伯語
中文
法語
英語
德語
意大利語
日語
荷蘭語
挪威語(書面語)
波蘭語
葡萄牙語
羅馬尼亞語
俄語
西班牙語

外掛篩選鉤子

wpll_current_user_can(布林值)

是否應該顯示欄位。
預設值:true

wpll_date_format(字串)

用於日期輸出的日期格式字串。

外掛標籤

開發者團隊

⬇ 下載最新版 (v7) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「WP Last Login」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

WP Last Login records when each user signs in and surfaces it as a sortable column on the Users screen — so you can see who’s active, identify dormant accounts, and confirm that real people are coming back.
Features

Sortable “Last Login” column on the Users screen, including the network admin user list on multisite.
Hover any date to reveal the exact login time.
Captures logins via the standard wp_login action, so it works with any login flow that triggers it — including the Two Factor plugin, WooCommerce, BuddyBoss, and most social-login plugins.
Users without a recorded login show a neutral em-dash (—) — never a misleading “never” — and still sort correctly when ordered by last login.
Lightweight: one user meta key, no settings page, no extra database tables.
Filter hooks let you customize the date format or hide the column from non-admin roles.

Plugin Filter Hooks
wpll_current_user_can (boolean)

Whether the column is supposed to be shown.
Default: true

wpll_date_format (string)

The date format string for the date output.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon