WP_Sync_Storage::get_updates_after_cursor
Retrieves sync updates from a room for a given client and cursor. Updates from the specified client should be excluded.
Method of the class: WP_Sync_Storage{}
No Hooks.
Returns
Array
Usage
$WP_Sync_Storage = new WP_Sync_Storage(); $WP_Sync_Storage->get_updates_after_cursor( $room, $cursor ): array;
- $room(string) (required)
- Room identifier.
- $cursor(int) (required)
- Return updates after this cursor.
Changelog
| Since 7.0.0 | Introduced. |
WP_Sync_Storage::get_updates_after_cursor() WP Sync Storage::get updates after cursor code WP 7.0
public function get_updates_after_cursor( string $room, int $cursor ): array;