mainwp_updates_apply
Apply WordPress core, plugin, or theme updates to a site, with optional dry-run mode to simulate without making changes.
Instructions
Apply updates to a WordPress site (supports dry-run mode)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | Site ID (number) or domain name (e.g., "1" or "pavinglist.com") | |
| type | Yes | Type of updates to apply | |
| items | No | Specific plugin/theme slugs to update (comma-separated). Omit to update all. | |
| dry_run | No | Simulate the operation without making changes (defaults to MAINWP_ENABLE_DRY_RUN_BY_DEFAULT) |