Update Plugin
wp_update_pluginSafely update a WordPress plugin to its latest version. Runs in background with automatic fallbacks. Use the Command Center (swiftly_command_center) to see which plugins have updates available.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Plugin slug to update (e.g. "akismet", "woocommerce"). Use the slug from the updates list, NOT the full file path. | |
| site_id | No | Site ID to target (optional if you have only one connected site) |