[WordPress] 外掛分享: Presence API

首頁外掛目錄 › Presence API
WordPress 外掛 Presence API 的封面圖片
全新外掛
安裝啟用
尚無評分
4 天前
最後更新
問題解決
WordPress 7.0+ PHP 7.4+ v0.5.0 上架:2026-07-20

內容簡介

Presence API 為 WordPress 提供了一個系統範圍的存在感層,能夠追蹤用戶的登入狀態、管理介面及編輯中的文章,提升網站的互動性與管理效率。

【主要功能】
• 誰在線上儀表板小工具,具備閒置檢測
• 活躍文章儀表板小工具,按文章分組
• 管理列指示器顯示在線用戶,按頁面分組
• 文章列表中的編輯者欄位
• 用戶列表中的在線篩選功能

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.5.0) 或搜尋安裝

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

原文外掛簡介

Presence API gives WordPress a system-wide awareness layer. It tracks which users are logged in, which admin screen they are on, and which posts they are editing.
Data flows through the Heartbeat API and is stored in a dedicated wp_presence table with a 150-second TTL. No writes to wp_postmeta means no post-cache invalidation on every heartbeat.
On a multisite network, Network Admin gets its own view of the same data: a Who’s Online dashboard widget listing the busiest sites and who is on each, an Online column in the Sites list, and an Online view, filter, and column in the Users list. These require the manage_network capability.
Features

Who’s Online dashboard widget with idle detection
Active Posts dashboard widget grouped by post
Admin bar indicator showing who’s online, grouped by who’s on this page
Editors column in the post list
Online filter in the Users list

For Developers
PHP functions, REST endpoints, WP-CLI commands, filters, and room conventions are documented in the GitHub repository.
Background
An experimental feature plugin sponsored by the WordPress Core team, exploring what system-wide presence could look like for a future WordPress release. Follow development on make.wordpress.org/core with the tag #presence-api.

延伸相關外掛

文章
Filter
Mastodon