WP_HTTP_Polling_Sync_Server::process_awareness_update( string $room, int $client_id,  $awareness_update ): array<int,

In this article

This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only by core. It is listed here for completeness.

Processes and stores an awareness update from a client.

Parameters

$roomstringrequired
Room identifier.
$client_idintrequired
Client identifier.
mixed>|null $awareness_update Awareness state sent by the client.

Return

array<int, array<string, mixed>> Map of client ID to awareness state.

Source

Changelog

VersionDescription
7.0.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.