Create a plugin (alias of install)
create_pluginInstall a WordPress plugin from the WordPress.org repository by its slug. Optionally set activation status and select the target site.
Instructions
Install a plugin from the WordPress.org repository. This is the REST API's own naming for the install operation — install_plugin is the clearer name for the same thing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | WordPress.org plugin slug. | |
| status | No | Filter by status. | inactive |
| 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. |