Install a theme
install_themeInstall a WordPress theme from the WordPress.org repository by slug, without activating it. Activate separately when ready.
Instructions
Install a theme from the WordPress.org repository by slug. Does not activate it — use activate_theme, or the draft workflow, afterwards.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | WordPress.org theme slug, e.g. "twentytwentyfive". | |
| site_id | No | Which configured WordPress site to act on. Optional — with a single site configured it is used automatically; with several, the default site is used unless you name one. Run list_sites for valid ids. |