Get started in 60 seconds
Visit playground.wordpress.net to get your very own, private, in-browser WordPress running. That’s it! Now you can build a theme, build an entire site, test a plugin, and more! Here’s the gist of it:
The operating system of the web – on your device
Web browsers are just the beginning – WordPress Playground works in Node.js, mobile apps, VS Code, and more. Whether you want to build a note-taking application for mobile devices, an automated testing environment, or demo a live WooCommerce store on your site – Playground will support you.
How is this possible? Playground uses the latest, cutting-edge technologies to make the key WordPress dependencies work in JavaScript.
- PHP runs as a WebAssembly binary
- MySQL is replaced for SQLite via a WordPress plugin
- Web server is implemented in JavaScript as a Service Worker
Dig into the WordPress Playground documentation to learn more about these concepts.
Integrate it with your app in 5 minutes
Developer experience is a big part of Playground Philosophy – a single tag is all it takes to integrate Playground with your application:
That’s it! In case you wonder – ?mode=seamless
tells Playground to fill the entire page. You can also say ?php=8.0
, ?plugin=gutenberg
, and more – it’s called Query API and you can read more about it in the documentation.
⚠️ Playground is an active exploration – it works reasonably well, but it has limitations and the API might change without a warning.