wp_activate_theme
Switch the active WordPress theme to any installed theme by providing its slug/directory name. It identifies and activates the target theme through the site's signed REST API.
Instructions
Switch the active WordPress theme. Provide the theme slug (directory name).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Theme slug/directory name (e.g. "twentytwentyfour", "astra") |