mainwp_plugins_activate
Activate specific plugins on a WordPress site by providing site identifier and plugin slugs. Supports dry-run mode for testing.
Instructions
Activate one or more plugins on a WordPress site
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | Site ID (number) or domain name (e.g., "1" or "pavinglist.com") | |
| dry_run | No | Simulate the operation without making changes (defaults to MAINWP_ENABLE_DRY_RUN_BY_DEFAULT) | |
| plugins | Yes | Plugin slug(s) to activate, comma-separated |