File tree 1 file changed +11
-8
lines changed
blueprints/install-plugin-from-gist
1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change 10
10
"wp" : " beta" ,
11
11
"php" : " 8.0"
12
12
},
13
- "login" : true ,
13
+ "login" :true ,
14
14
"steps" : [
15
15
{
16
- "step" : " installPlugin" ,
17
- "pluginData" : {
18
- "resource" : " url" ,
19
- "url" : " https://gist.githubusercontent.com/ndiego/456b74b243d86c97cda89264c68cbdee/raw/ff00cf25e6eebe4f5a4eaecff10286f71e65340b/block-hooks-demo.php"
20
- },
21
- "options" : {
22
- "activate" : true
16
+ "step" : " writeFile" ,
17
+ "path" : " /wordpress/wp-content/plugins/0-plugin.php" ,
18
+ "data" : {
19
+ "resource" : " url" ,
20
+ "url" : " https://gist.githubusercontent.com/ndiego/456b74b243d86c97cda89264c68cbdee/raw/ff00cf25e6eebe4f5a4eaecff10286f71e65340b/block-hooks-demo.php"
23
21
}
22
+ },
23
+ {
24
+ "step" : " activatePlugin" ,
25
+ "pluginName" : " Block Hooks Demo" ,
26
+ "pluginPath" : " 0-plugin.php"
24
27
}
25
28
]
26
29
}
You can’t perform that action at this time.
0 commit comments