bricks_switch_site
Switch the active WordPress site by site key. Clears cache and warms the new site to ensure immediate availability.
Instructions
Switch the active WordPress site. Clears cache and warms the new site. Use bricks_list_sites to see available keys.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Site key from sites.json (e.g. "bricks-main", "staging") |