mainwp_plugins_deactivate
Deactivate one or more plugins on a WordPress site by site ID or domain. Specify plugin slugs and optionally simulate the operation with a dry run.
Instructions
Deactivate 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 deactivate, comma-separated |