-
-
Save dexit/d256adeed853e800392489e2e4b4708c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "$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); ?>" | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment