Title: WP_HTTP_Polling_Sync_Server::process_sync_update
Published: May 20, 2026

---

# WP_HTTP_Polling_Sync_Server::process_sync_update( string $room, int $client_id, int $cursor,  $update ): true|󠀁[WP_Error](https://developer.wordpress.org/reference/classes/wp_error/)󠁿

## In this article

 * [Parameters](https://developer.wordpress.org/reference/classes/wp_http_polling_sync_server/process_sync_update/?output_format=md#parameters)
 * [Return](https://developer.wordpress.org/reference/classes/wp_http_polling_sync_server/process_sync_update/?output_format=md#return)
 * [Source](https://developer.wordpress.org/reference/classes/wp_http_polling_sync_server/process_sync_update/?output_format=md#source)
 * [Changelog](https://developer.wordpress.org/reference/classes/wp_http_polling_sync_server/process_sync_update/?output_format=md#changelog)

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 a sync update based on its type.

## 󠀁[Parameters](https://developer.wordpress.org/reference/classes/wp_http_polling_sync_server/process_sync_update/?output_format=md#parameters)󠁿

 `$room`stringrequired

Room identifier.

`$client_id`intrequired

Client identifier.

`$cursor`intrequired

Client cursor (marker of last seen update).

string, type: string} $update Sync update.

## 󠀁[Return](https://developer.wordpress.org/reference/classes/wp_http_polling_sync_server/process_sync_update/?output_format=md#return)󠁿

 true|[WP_Error](https://developer.wordpress.org/reference/classes/wp_error/) True
on success, [WP_Error](https://developer.wordpress.org/reference/classes/wp_error/)
on storage failure.

## 󠀁[Source](https://developer.wordpress.org/reference/classes/wp_http_polling_sync_server/process_sync_update/?output_format=md#source)󠁿

[View all references](https://developer.wordpress.org/reference/files/wp-includes/collaboration/class-wp-http-polling-sync-server.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/7.1/src/wp-includes/collaboration/class-wp-http-polling-sync-server.php#L465)

## 󠀁[Changelog](https://developer.wordpress.org/reference/classes/wp_http_polling_sync_server/process_sync_update/?output_format=md#changelog)󠁿

| Version | Description | 
| [7.0.0](https://developer.wordpress.org/reference/since/7.0.0/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fclasses%2Fwp_http_polling_sync_server%2Fprocess_sync_update%2F)
before being able to contribute a note or feedback.