BACK TO DIRECTORY

Presence API

by WordPress.org

0.0
(0 ratings)

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.

Plugin Details

Active Installs
0
Total Downloads
2,354
Version
0.5.0
Requires WP
7.0
Requires PHP
7.4
Tested Up To
7.1
Added
2026-07-21
Last Updated
2026-09-10 2:54pm GMT

Ratings

5
0
4
0
3
0
2
0
1
0