wp-multisite
Installation
SKILL.md
WordPress Multisite Plugin Development
Model note: Adapting an existing plugin for multisite involves scattered conditional changes — requires reading across many files to find all
get_option/update_optionand activation hooks. Usesonnet;haikumay miss indirect callers. New builds with multisite in mind from the start are straightforward and can usehaiku.
Adapt and build plugins that work correctly on WordPress multisite networks. Covers activation scope, option storage, network admin UI, capability model, and safe site-switching patterns.
When to use
- "Make my plugin multisite compatible", "support network activation".
- "Add a network admin settings page", "store a network-wide option".
- "Loop over all sites and do X", "run a task on every blog".
- "Why does my plugin break on multisite?", "fix table prefix issues".
- "Check if a user is super admin", "restrict to network admin only".
Not for: WP-CLI multisite operations — use wp-wpcli-and-ops (official skill). General plugin architecture — use wp-plugin-development.