plugin-icon

Presence API

作者:WordPress.org·
System-wide presence and awareness for WordPress.
版本
0.1.11
最后更新
Jul 31, 2026
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 60-second TTL. No writes to wp_postmeta means no post-cache invalidation on every heartbeat.

Features

  • Who’s Online dashboard widget with idle detection
  • Active Posts dashboard widget grouped by post
  • Admin bar indicator showing other users on the same page
  • Editors column in the post list
  • Online filter in the Users list

Try it

Test in WordPress Playground without installing anything.

Watch the demo on YouTube

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.

免费基于付费套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 7.0.2
这个插件是可用的下载,适用于您的站点。