Install Plugin
wp_install_pluginInstall a plugin from wordpress.org by its slug (e.g. "contact-form-7", "woocommerce"). Optionally activate it after install.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Plugin slug from wordpress.org (e.g. "contact-form-7", "woocommerce", "elementor") | |
| site_id | No | Site ID to target (optional if you have only one connected site) | |
| activate | No | Activate the plugin after installing (default: false) |