Get a plugin
get_pluginRetrieve complete information about a single installed WordPress plugin by providing its plugin file path, such as 'woocommerce/woocommerce'. Returns activation status, version, and other details.
Instructions
Get full details about one installed plugin by its plugin file path, e.g. "woocommerce/woocommerce" or "hello-dolly/hello".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plugin | Yes | Plugin identifier as returned by list_plugins, e.g. "akismet/akismet" (no .php extension). | |
| 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. |