aism_plugin_update
Updates an installed WordPress plugin using the site-advertised release or a supplied local ZIP, preserving activation and requiring plugin write and upload permissions.
Instructions
Update an installed plugin. Omit file_path to use the WordPress-advertised update, or supply a local ZIP with the same plugin folder/main file and a newer version (companion 1.2.0+). ZIP replacement preserves activation and requires plugins:write plus update/upload capabilities. AI Site Manager cannot update itself; multisite mutations are unavailable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Configured site name from aism_sites. Omit for the default site. | |
| plugin | Yes | Installed plugin identifier from aism_plugins_list, with or without .php. | |
| file_path | No | Operator-provided local ZIP path. ZIP updates require a plugin in its own top-level directory. |