{ "landingPage": "/wp-admin/network/", "preferredVersions": { "php": "8.0", "wp": "latest" }, "steps": [ { "step": "defineWpConfig", "name": "WP_ALLOW_MULTISITE", "value": true }, { "step": "defineWpConfig", "name": "MULTISITE", "value": true }, { "step": "defineWpConfig", "name": "SUBDOMAIN_INSTALL", "value": false }, { "step": "defineWpConfig", "name": "DOMAIN_CURRENT_SITE", "value": "localhost" }, { "step": "defineWpConfig", "name": "PATH_CURRENT_SITE", "value": "/" }, { "step": "defineWpConfig", "name": "SITE_ID_CURRENT_SITE", "value": 1 }, { "step": "defineWpConfig", "name": "BLOG_ID_CURRENT_SITE", "value": 1 }, { "step": "login", "username": "admin", "password": "password" }, { "step": "writeFile", "path": "/wordpress/wp-content/plugins/wp-plugin-starter-template/wp-plugin-starter-template.php", "data": "';\n echo '

WP Plugin Starter Template

';\n echo '

This is a starter template for WordPress plugins.

';\n echo '';\n }\n \n public function display_network_settings_page() {\n echo '
';\n echo '

WP Plugin Starter Template - Network Settings

';\n echo '

This is a starter template for WordPress plugins with multisite support.

';\n echo '
';\n }\n}\n\n$plugin = new WP_Plugin_Starter_Template();\n" }, { "step": "writeFile", "path": "/wordpress/wp-content/plugins/wp-plugin-starter-template/admin/index.php", "data": "get_error_message();\n } else {\n echo 'Created subsite with ID: ' . $blog_id;\n }\n} else {\n echo 'Subsite already exists';\n}\n" } ] }