Building a custom sync provider in WordPress 7.0
WordPress 7.0 ships real-time collaboration over HTTP polling, which is fine until traffic picks up. Here is how I swap in a WebSocket transport with Yjs and the sync.providers filter, and what the auth side has to look like.