Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ironprogrammer/aa1fe6b2ea9bdd805f39830abbe60cd5 to your computer and use it in GitHub Desktop.
Save ironprogrammer/aa1fe6b2ea9bdd805f39830abbe60cd5 to your computer and use it in GitHub Desktop.
Playground experiment
{
"landingPage": "/wp-admin/site-editor.php",
"preferredVersions": {
"php": "8.0",
"wp": "beta"
},
"features": {
"networking": true
},
"steps": [
{
"step": "login"
},
{
"step": "mkdir",
"path": "/wordpress/wp-content/plugins/block-hooks-demo"
},
{
"step": "writeFile",
"path": "/wordpress/wp-content/plugins/block-hooks-demo/block-hooks-demo.php",
"data": {
"resource": "url",
"url": "https://gist.githubusercontent.com/ndiego/456b74b243d86c97cda89264c68cbdee/raw/ff00cf25e6eebe4f5a4eaecff10286f71e65340b/block-hooks-demo.php"
}
},
{
"step": "activatePlugin",
"pluginName": "Block Hooks Demo",
"pluginPath": "/wordpress/wp-content/plugins/block-hooks-demo"
}
]
}
@ironprogrammer
Copy link
Author

Inception-inspired blueprint via gist that installs a plugin via gist... 👨‍🍳 💋

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment