Activate a theme
wp_theme_activateSwitch the active WordPress theme by providing its stylesheet slug. Changing themes on a live site is high-impact; test on a staging copy first.
Instructions
Switch the active theme. Changing themes on a live site is high-impact; prefer a staging copy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be "activate" | |
| stylesheet | Yes | Theme directory slug |