[WordPress] 外掛分享: Presence API

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

內容簡介

Presence API 為 WordPress 提供了一個系統範圍的意識層,能夠追蹤使用者的登入狀態、所處的管理畫面及正在編輯的文章,提升網站管理的效率與協作性。

【主要功能】
• 顯示在線使用者的管理列指示器
• 依文章分組的活躍文章儀表板小工具
• 文章列表中的編輯者欄位
• 在區塊編輯器中顯示同步模式的通知
• 使用者列表中的在線篩選功能
• 文章鎖定資訊存放於 presence 表中

外掛標籤

開發者團隊

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

① 下載 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

Admin bar indicator showing who’s online and who’s on this page
Active Posts dashboard widget grouped by post
Editors column in the post list
A notice on synced patterns in the block editor while someone else is editing them
Online filter in the Users list
A notice when someone else saves the screen you have open
Post locks kept in the presence table instead of post meta, so holding a lock no longer makes cached post queries stale
A switch for each feature on Settings > Presence API
AI agents labelled in the admin bar, the Active Posts widget, and the Editors column, once a plugin such as Agent Users marks them

For Developers
PHP functions, REST endpoints, WP-CLI commands, filters, and room conventions are documented in the GitHub repository.
Background
A 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