mainwp_themes_delete
Delete an inactive theme from a WordPress site. Specify the site ID or domain and theme slug; optionally simulate with dry run.
Instructions
Delete a theme from a WordPress site (must not be active)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | Site ID (number) or domain name (e.g., "1" or "pavinglist.com") | |
| slug | Yes | Theme slug to delete (e.g., "flavor") | |
| dry_run | No | Simulate the operation without making changes (defaults to MAINWP_ENABLE_DRY_RUN_BY_DEFAULT) |