mainwp_sites_edit
Update site display name and group assignments to organize and manage your WordPress sites in the MainWP dashboard.
Instructions
Edit site settings (name, groups) in MainWP Dashboard
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New display name for the site | |
| 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) | |
| groupids | No | Comma-separated group IDs to assign |