Get a theme
get_themeRetrieve details about an installed WordPress theme, including its declared supports and block theme status, to determine how to build pages and templates.
Instructions
Get details about one installed theme, including what it declares support for and whether it is a block theme (which changes how you build pages and templates).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. | |
| stylesheet | Yes | Theme directory name, e.g. "twentytwentyfour". |