Set Wordpress Php Version
set_wordpress_php_versionSwitch a Cloud for WordPress site to a different PHP version by providing its domain and a supported version, with an optional dry run to validate before applying.
Instructions
Change the PHP version a Cloud for WordPress site runs. version must be one of wordpress.site.availablePhpVersions from get_hosting. Takes effect within a minute or two; if the site misbehaves, switch back the same way. Confirm with the user first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain of the Cloud for WordPress site, e.g. `example.com`. | |
| dry_run | No | Validate and preview without changing anything. | |
| version | Yes | e.g. `8.3`, from availablePhpVersions. |