Demo
npx pressship demo
npx pressship demo ./my-plugin
npx pressship demo elementor
npx pressship demo https://wordpress.org/plugins/elementor/
demo starts a local WordPress Playground server with the plugin loaded and activated.
For local paths, Pressship mounts the plugin directory into Playground. For hosted slugs or WordPress.org plugin URLs, Pressship creates a Blueprint that installs and activates the plugin from the WordPress.org directory.
Pressship uses the plugin's required WordPress and PHP versions when they are declared. You can override either runtime:
npx pressship demo ./my-plugin --wp 6.8 --php 8.3
Options
npx pressship demo ./my-plugin --port 9401
npx pressship demo ./my-plugin --reset
npx pressship demo ./my-plugin --skip-browser
--portchooses the local Playground server port.--resetremoves the persisted Playground site before starting.--skip-browserstarts the server without opening a browser.
Pressship also adds a small Playground compatibility mu-plugin before activation. It loads WordPress admin plugin helpers when plugins expect them and suppresses PHP deprecation notices so demo pages stay readable while real warnings, errors, and fatals still surface.