Deactivate a plugin
wp_deactivate_pluginDeactivate a plugin by its file path as wp_list_plugins lists it (e.g. akismet/akismet.php). The answer says in was_active whether it was active before. AlphaBridge itself (AlphaBridge MCP, AlphaBridge MCP Pro, the owner drop-in) is refused here, because deactivating it would end this connection or take tools away from it; it is deactivated in wp-admin under Plugins. wp_activate_plugin is the reverse. Forwarded by AlphaBridge Connect to the one site this connection reaches.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plugin | Yes | Exact identifier of an installed plugin as wp_list_plugins returns it in file, e.g. "akismet/akismet.php". Anything else is refused. |