Vanilla WordPress
Boot a clean site with the selected runtime.
Launch routes, blueprints, and saved browser-storage Playgrounds.
Boot a clean site with the selected runtime.
Paste a core PR number or GitHub URL.
Use a PR, branch, or Gutenberg repository URL.
Load a theme or plugin from a repository.
Paste any blueprint JSON URL and run it against this browser session.
Restore a previously exported Playground archive.
Site Manager - current browser session
Your changes will be lost on page refresh unless you save this site to browser storage.
<?php
define( 'DB_NAME', 'database_name_here' );
define( 'DB_USER', 'username_here' );
define( 'DB_PASSWORD', 'password_here' );
define( 'DB_HOST', 'localhost' );
define( 'DB_CHARSET', 'utf8mb4' );
/* Playground loads WordPress in the browser. */
if ( ! defined( 'ABSPATH' ) ) {
define( 'ABSPATH', __DIR__ . '/' );
}
require_once ABSPATH . 'wp-settings.php';
{
"$schema": "https://playground.wordpress.net/blueprint-schema.json",
"meta": {
"title": "Playground Welcome Landing Page",
"categories": [ "meta" ]
},
"login": true,
"landingPage": "/hello-from-playground/",
"preferredVersions": {
"php": "8.3",
"wp": "latest"
},
"steps": [
{ "step": "installTheme", "themeZipFile": "resource:theme" },
{ "step": "runPHP", "code": "<?php update_option('blogname', 'My WordPress Website');" }
]
}
WordPress Playground emulates MySQL using SQLite. Database tools are a work in progress and may be slower than a native server.
MySQL emulation backed by SQLite
/wordpress/wp-content/database/.ht.sqlite
452 KB
| Table | Rows | Updated | Notes |
|---|---|---|---|
| wp_posts | 12 | 10:18 UTC | pages and starter content |
| wp_options | 184 | 10:17 UTC | autoloaded options visible |
| wp_users | 1 | 10:16 UTC | admin session |
| wp_terms | 7 | 10:16 UTC | categories and menus |
This will erase the current WordPress database, uploads, installed files, and theme edits for this Playground. Save first if you want to keep the current state.