Skip to content

Instantly share code, notes, and snippets.

@dexit
Forked from bhubbard/playground.json
Created October 28, 2025 11:01
Show Gist options
  • Select an option

  • Save dexit/d256adeed853e800392489e2e4b4708c to your computer and use it in GitHub Desktop.

Select an option

Save dexit/d256adeed853e800392489e2e4b4708c to your computer and use it in GitHub Desktop.

Revisions

  1. @bhubbard bhubbard created this gist Aug 28, 2025.
    78 changes: 78 additions & 0 deletions playground.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,78 @@
    {
    "$schema": "https://playground.wordpress.net/blueprint-schema.json",
    "landingPage": "/wp-admin/plugins.php",
    "steps": [
    {
    "step": "login",
    "username": "admin",
    "password": "password"
    },
    {
    "step": "installTheme",
    "themeZipFile": {
    "resource": "wordpress.org/themes/ollie"
    },
    "options": {
    "activate": true
    }
    },
    {
    "step": "installPlugin",
    "pluginZipFile": {
    "resource": "wordpress.org/plugins/wordpress-seo"
    },
    "options": {
    "activate": true
    }
    },
    {
    "step": "installPlugin",
    "pluginZipFile": {
    "url": "https://vttiicmlzxzxrcyyewfn.supabase.co/storage/v1/object/public/ollie/releases/ollie_pro.zip"
    },
    "options": {
    "activate": true
    }
    },
    {
    "step": "installPlugin",
    "pluginZipFile": {
    "url": "https://github.com/OllieWP/menu-designer/releases/latest/download/ollie-menu-designer.zip"
    },
    "options": {
    "activate": true
    }
    },
    {
    "step": "installPlugin",
    "pluginZipFile": {
    "resource": "wordpress.org/plugins/stream"
    },
    "options": {
    "activate": true
    }
    },
    {
    "step": "installPlugin",
    "pluginZipFile": {
    "resource": "wordpress.org/plugins/akismet"
    },
    "options": {
    "activate": true
    }
    },
    {
    "step": "installPlugin",
    "pluginZipFile": {
    "resource": "wordpress.org/plugins/performance-lab"
    },
    "options": {
    "activate": true
    }
    },
    {
    "step": "runPHP",
    "code": "<?php $modules_to_enable = ['embed-optimizer/load.php', 'enhanced-responsive-images/load.php', 'image-placeholders/load.php', 'image-prioritizer/load.php', 'modern-image-formats/load.php', 'no-cache-bfcache/load.php', 'optimization-detective/load.php', 'performant-translations/load.php', 'speculative-loading/load.php', 'view-transitions/load.php', 'worker-offloading/load.php']; $options = get_option('perflab_options', []); if (!isset($options['modules'])) { $options['modules'] = []; } foreach ($modules_to_enable as $module) { $options['modules'][$module] = 'active'; } update_option('perflab_options', $options); ?>"
    }
    ]
    }