Skip to content

Commit ab58fda

Browse files
committed
Add blueprint.json.
1 parent 01a5e8e commit ab58fda

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"landingPage": "/wp-admin/post-new.php",
3+
"features": {
4+
"networking": true
5+
},
6+
"steps": [
7+
{
8+
"step": "login",
9+
"username": "admin",
10+
"password": "password"
11+
},
12+
{
13+
"step": "installPlugin",
14+
"pluginZipFile": {
15+
"resource": "wordpress.org/plugins",
16+
"slug": "kagg-fast-post-generator"
17+
},
18+
"options": {
19+
"activate": true
20+
}
21+
},
22+
{
23+
"step": "writeFile",
24+
"path": "/wordpress/wp-content/mu-plugins/playground-notice.php",
25+
"data": "<?php add_action( 'admin_notices', function() { echo '<div class=\"notice notice-info is-dismissible\"><p>This is a live preview of <strong>KAGG Generator</strong> plugin, powered by <a href=\"https://wordpress.org/playground/\" target=\"_blank\">WordPress Playground</a>.</p></div>'; } );"
26+
}
27+
]
28+
}

0 commit comments

Comments
 (0)