aism_theme_action
Activate, update, or delete an installed WordPress theme by stylesheet identifier; activation switches themes, while deletion requires themes:delete and excludes active or parent themes.
Instructions
Activate/update/delete an installed theme using its stylesheet identifier from aism_themes_list. Activate another theme to deactivate the current one. Deletion requires themes:delete and cannot remove the active theme or its parent. Updates use the WordPress-advertised package. Multisite mutations are unavailable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Configured site name from aism_sites. Omit for the default site. | |
| theme | Yes | ||
| action | Yes |