wp_set_theme
Activate a WordPress theme (e.g. hello-elementor) via Xyle's server-side SSH — no local SSH needed. Set install=true to install it from wordpress.org first if it's not present. Changes the live site theme (reversible by activating the previous one). Requires writes enabled.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| theme | Yes | Theme slug, e.g. hello-elementor | |
| install | No | Install from wordpress.org first if missing (default false) | |
| site_id | Yes | The WordPress site ID |