wp_activate_plugin
Activate an installed WordPress plugin by providing its file path, slug, or plugin name.
Instructions
Activate an installed WordPress plugin. You can provide the plugin file path (e.g. "woocommerce/woocommerce.php"), slug (e.g. "woocommerce"), or name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plugin | Yes | Plugin file path, slug, or name |