Title: Presence API
Author: WordPress.org
Published: <strong>21 ліпеня, 2026</strong>
Last modified: 27 верасня, 2026

---

Пошук плагінаў

![](https://ps.w.org/presence-api/assets/banner-772x250.png?rev=3620136)

![](https://ps.w.org/presence-api/assets/icon.svg?rev=3669719)

# Presence API

 Аўтар: [WordPress.org](https://profiles.wordpress.org/wordpressdotorg/)

[Спампаваць](https://downloads.wordpress.org/plugin/presence-api.0.9.0.zip)

[Прадпрагляд](https://bel.wordpress.org/plugins/presence-api/?preview=1)

 * [Падрабязнасці](https://bel.wordpress.org/plugins/presence-api/#description)
 * [Водгукі](https://bel.wordpress.org/plugins/presence-api/#reviews)
 *  [Ўсталёўка](https://bel.wordpress.org/plugins/presence-api/#installation)
 * [Распрацоўка](https://bel.wordpress.org/plugins/presence-api/#developers)

 [Падтрымка](https://wordpress.org/support/plugin/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
 * 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](https://github.com/WordPress/presence-api).

#### 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](https://make.wordpress.org/core/) with the tag `#presence-
api`.

## Ўсталёўка

 1. In your WordPress admin, go to **Plugins  Add New Plugin** and search for “Presence
    API”, then click **Install Now**.
 2. Activate through the **Plugins** menu.

Or install manually:

 1. Download the zip and upload the `presence-api` folder to `/wp-content/plugins/`.
 2. Activate through the **Plugins** menu.

## Часта задаваныя пытанні

### Does it work on multisite?

Yes. Network-activate it and Network Admin gains 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. Every site keeps its own
widgets and lists, counting only the people on that site.

### Who can see network-wide presence?

Anyone with the `manage_network` capability, which on a default network means super
admins. The `wp_presence_network_capability` filter changes what is required.

### Can a site stop recording presence?

Yes. Clear the **Presence** checkbox on Settings > General, or run `wp presence 
recording set off`. Every screen empties within one TTL as the rows already stored
expire. On multisite, Network Admin > Settings has the same checkbox for every site
at once; whichever switch is off decides.

For code, the `wp_presence_recording_enabled` and `wp_presence_network_recording_enabled`
filters take the checkboxes as their defaults, so a filter always has the last word.

## Водгукі

На гэты плагін няма водгукаў.

## Удзельнікі і распрацоўшчыкі

“Presence API” з’яўляецца праграмным забеспячэннем з адкрытым зыходным кодам. Наступныя
людзі ўнеслі свой уклад у гэты плагін.

Удзельнікі

 *   [ WordPress.org ](https://profiles.wordpress.org/wordpressdotorg/)
 *   [ Joe Fusco ](https://profiles.wordpress.org/joefusco/)
 *   [ Ritvik Bhutani ](https://profiles.wordpress.org/intenzi/)
 *   [ Ashish Verma ](https://profiles.wordpress.org/ashishjii/)
 *   [ Deepak Kumar ](https://profiles.wordpress.org/iamchitti/)
 *   [ Iqbal Hossain ](https://profiles.wordpress.org/iqbal1hossain/)
 *   [ Asllan Maciel ](https://profiles.wordpress.org/wp24horas/)
 *   [ Aldo Rizona ](https://profiles.wordpress.org/aldorza/)
 *   [ Jignesh Bhavani ](https://profiles.wordpress.org/bejignesh/)
 *   [ stfulldev ](https://profiles.wordpress.org/stfulldev/)
 *   [ Konstantin Obenland ](https://profiles.wordpress.org/obenland/)
 *   [ mori-ikuri ](https://profiles.wordpress.org/moriikuri/)
 *   [ Ishita ](https://profiles.wordpress.org/ishitaj34/)
 *   [ Aminul Islam ](https://profiles.wordpress.org/theaminuldev/)
 *   [ Muneeb Ashraf ](https://profiles.wordpress.org/muneebashraf/)
 *   [ John Parris ](https://profiles.wordpress.org/mindctrl/)
 *   [ Zahid Ul Islam ](https://profiles.wordpress.org/zahidui/)
 *   [ Guzel Mitroshina ](https://profiles.wordpress.org/mitgiselle/)
 *   [ Jared Rethman ](https://profiles.wordpress.org/jaredrethman/)

[Перакласці “Presence API” на вашу мову.](https://translate.wordpress.org/projects/wp-plugins/presence-api)

### Зацікаўлены ў распрацоўцы?

[Праглядзіце код](https://plugins.trac.wordpress.org/browser/presence-api/), праверце
[SVN рэпазітарый](https://plugins.svn.wordpress.org/presence-api/), або падпішыцеся
на [журнал распрацоўкі](https://plugins.trac.wordpress.org/log/presence-api/) па
[RSS](https://plugins.trac.wordpress.org/log/presence-api/?limit=100&mode=stop_on_copy&format=rss).

## Журнал змяненняў

Only the most recent releases are listed here. For the full history, see https://
github.com/WordPress/presence-api/blob/main/CHANGELOG.md

#### 0.9.0

 * Gate where people are behind a per-user view_presence_location meta cap ([#571](https://github.com/WordPress/presence-api/issues/571)).
 * Give each user a room-assigned color from Gutenberg’s palette ([#574](https://github.com/WordPress/presence-api/issues/574)).
 * Keep the admin bar presence node in sync on each heartbeat ([#589](https://github.com/WordPress/presence-api/issues/589)).
 * Put people on this page first in the admin bar menu and link everyone else to
   where they are ([#597](https://github.com/WordPress/presence-api/issues/597)).
 * Retire the site Who’s Online dashboard widget ([#591](https://github.com/WordPress/presence-api/issues/591)).
 * Ring each admin bar face in its block editor collaborator color.
 * Say how many people the admin bar menu leaves out ([#594](https://github.com/WordPress/presence-api/issues/594)).
 * Seat the admin bar faces beside My Account and build the menu from core groups(
   [#565](https://github.com/WordPress/presence-api/issues/565)).
 * Show whole faces in the admin bar and beside each name in its menu.
 * Carry the filter nonce on the Plugins screen’s online users link ([#569](https://github.com/WordPress/presence-api/issues/569)).
 * Close the remaining location leaks and refresh the screen token ([#600](https://github.com/WordPress/presence-api/issues/600)).
 * Keep post locks in the presence table instead of post meta ([#551](https://github.com/WordPress/presence-api/issues/551)).
 * Keep presence markup and location to the people allowed them ([#596](https://github.com/WordPress/presence-api/issues/596)).
 * List everyone online in the admin bar and keep only their location behind the
   cap ([#590](https://github.com/WordPress/presence-api/issues/590)).
 * Skip an unchanged editor tick’s presence write ([#553](https://github.com/WordPress/presence-api/issues/553)).
 * Store the recording option so reading it costs no query ([#552](https://github.com/WordPress/presence-api/issues/552)).

#### 0.8.0

 * Add wp_presence_exchange() and wp_presence_leave() ([#546](https://github.com/WordPress/presence-api/issues/546)).
 * Say when Heartbeat cannot keep presence current ([#544](https://github.com/WordPress/presence-api/issues/544)).

#### 0.7.0

 * Filter wp_get_presence() by client_id prefix in SQL ([#530](https://github.com/WordPress/presence-api/issues/530)).
 * Store an expiry per presence row ([#541](https://github.com/WordPress/presence-api/issues/541)).
 * Stop the site TTL filter overriding an explicit $timeout ([#540](https://github.com/WordPress/presence-api/issues/540)).
 * Typos CI failure caused by changelog link label in `readme.txt` ([#527](https://github.com/WordPress/presence-api/issues/527)).
 * Decide redundant presence writes inside the upsert ([#542](https://github.com/WordPress/presence-api/issues/542)).

#### 0.6.0

 * Add Network Admin plugin action links ([#513](https://github.com/WordPress/presence-api/issues/513)).
 * Add wp_presence_is_available() for integrators ([#519](https://github.com/WordPress/presence-api/issues/519)).
 * Expose the room’s collaborator count as JS hooks ([#503](https://github.com/WordPress/presence-api/issues/503)).
 * Centralize network site status filtering ([#453](https://github.com/WordPress/presence-api/issues/453)).
 * Keep a client that is still pinging out of the idle state ([#522](https://github.com/WordPress/presence-api/issues/522)).
 * Keep the collaboration edge state in the presence table ([#514](https://github.com/WordPress/presence-api/issues/514)).

#### 0.5.0

 * Add a Settings link to the plugin row actions ([ba04159](https://github.com/WordPress/presence-api/commit/ba04159d8e780936ee8e25100d7b23e239fd8cab)),
   closes [#484](https://github.com/WordPress/presence-api/issues/484).
 * Let wp_set_presence() accept an explicit GMT timestamp.
 * Bypass the redundant-write guard and validate $date_gmt on wp_set_presence().
 * Request a retina-sharp avatar resolution across the presence surfaces.
 * Stop PHPStan’s bootstrap from silently exiting before analysis.

## Community plugin

This plugin is developed and supported by a community. [Contribute to this plugin](https://github.com/WordPress/presence-api)

## Мета

 *  Версія **0.9.0**
 *  Апошняе абнаўленне **3 гадзіны таму**
 *  Актыўных установак **10+**
 *  Версія WordPress ** 7.0 або вышэй **
 *  Правераны да версіі **7.1.2**
 *  Версія PHP ** 7.4 або вышэй **
 *  Мова
 * [English (US)](https://wordpress.org/plugins/presence-api/)
 * Тэгі
 * [awareness](https://bel.wordpress.org/plugins/tags/awareness/)[heartbeat](https://bel.wordpress.org/plugins/tags/heartbeat/)
   [presence](https://bel.wordpress.org/plugins/tags/presence/)[real-time](https://bel.wordpress.org/plugins/tags/real-time/)
 *  [Пашыраны прагляд](https://bel.wordpress.org/plugins/presence-api/advanced/)

## Ацэнкі

Пакуль яшчэ няма водгукаў.

[Ваш водгук](https://wordpress.org/support/plugin/presence-api/reviews/#new-post)

[Паглядзець усе водгукі](https://wordpress.org/support/plugin/presence-api/reviews/)

## Удзельнікі

 *   [ WordPress.org ](https://profiles.wordpress.org/wordpressdotorg/)
 *   [ Joe Fusco ](https://profiles.wordpress.org/joefusco/)
 *   [ Ritvik Bhutani ](https://profiles.wordpress.org/intenzi/)
 *   [ Ashish Verma ](https://profiles.wordpress.org/ashishjii/)
 *   [ Deepak Kumar ](https://profiles.wordpress.org/iamchitti/)
 *   [ Iqbal Hossain ](https://profiles.wordpress.org/iqbal1hossain/)
 *   [ Asllan Maciel ](https://profiles.wordpress.org/wp24horas/)
 *   [ Aldo Rizona ](https://profiles.wordpress.org/aldorza/)
 *   [ Jignesh Bhavani ](https://profiles.wordpress.org/bejignesh/)
 *   [ stfulldev ](https://profiles.wordpress.org/stfulldev/)
 *   [ Konstantin Obenland ](https://profiles.wordpress.org/obenland/)
 *   [ mori-ikuri ](https://profiles.wordpress.org/moriikuri/)
 *   [ Ishita ](https://profiles.wordpress.org/ishitaj34/)
 *   [ Aminul Islam ](https://profiles.wordpress.org/theaminuldev/)
 *   [ Muneeb Ashraf ](https://profiles.wordpress.org/muneebashraf/)
 *   [ John Parris ](https://profiles.wordpress.org/mindctrl/)
 *   [ Zahid Ul Islam ](https://profiles.wordpress.org/zahidui/)
 *   [ Guzel Mitroshina ](https://profiles.wordpress.org/mitgiselle/)
 *   [ Jared Rethman ](https://profiles.wordpress.org/jaredrethman/)

## Падтрымка

Ёсць што сказаць? Патрэбна дапамога?

 [Перайсці да форуму падтрымкі](https://wordpress.org/support/plugin/presence-api/)