WebSocket-first
Persistent WebSocket connection with automatic SSE fallback. Channel subscriptions survive the fallback without page reload.
The official WordPress plugin for the WPSignal realtime event service. Install, connect, and your site starts pushing events to browsers instantly. No polling. No server to manage.
<Setup />
No server to provision. No WebSocket infrastructure to manage.
Upload the plugin or install from the WordPress directory. Go to WP Admin > WordSocket and click Connect.
Post updates publish instantly without any code. Register custom triggers with the PHP builder to attach realtime events to any WordPress action hook.
The client script connects via WebSocket on page load. Every event fires a native CustomEvent on document. No polling, no framework required.
Need a visual guide? Watch this 1min demo
<Features />
Persistent WebSocket connection with automatic SSE fallback. Channel subscriptions survive the fallback without page reload.
Payloads are encrypted with AES-256-GCM before leaving WordPress. The WPSignal relay forwards ciphertext only and never reads your content.
Map any WordPress action hook to a realtime event in one PHP call. Add a condition, custom channel, or transform the payload: all optional.
On WordPress 7.0+, WordSocket registers as a Yjs WebSocket sync provider for the block editor. Real-time co-editing with no extra setup.
A public JavaScript API lets themes and plugins subscribe, publish, and listen for events without managing their own WebSocket connection.
Built-in admin page with live event log, publish form, token inspector, and connection status. Diagnose issues without leaving WordPress.
Yes. WordSocket relays events through the WPSignal server. Create a free account at wpsignal.io, then paste your API key into the plugin settings.
During registration: your site URL and name. During normal operation: AES-256-GCM encrypted event payloads. The WPSignal server never sees plaintext content. Data is not stored on the server.
The built-in client loads for logged-in users by default. Use the wpsignal_allow_client filter to load it for all visitors.
The client falls back to SSE automatically. Channel subscriptions are replayed on reconnect. Collaborative editing detects the fallback and surfaces a "not synced" status in the block editor.
Yes. The Yjs sync provider requires @wordpress/sync, which ships in WordPress 7.0. The plugin detects the version and skips registration on older installs.
Get started
Create a free WPSignal account, install WordSocket from the WordPress plugin directory, and connect in under a minute.