Get a theme
get_themeRetrieve installed theme details for a WordPress site, including declared support and block theme status to guide page and template building.
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". |