wp plugin get

Gets details about an installed plugin.

wp plugin get <plugin> [--field=<field>] [--fields=<fields>] [--format=<format>]

Options

<plugin>

The plugin to get.

[--field=<field>]

Instead of returning the whole plugin, returns the value of a single field.

[--fields=<fields>]

Limit the output to specific fields. Defaults to all fields.

[--format=<format>]

Render output in a particular format. [Default: table]

Options:
  • table
  • csv
  • json
  • yaml

Available Options

These fields will be displayed by default for the plugin:

  • name
  • title
  • author
  • version
  • description
  • status

These fields are optionally available:

  • requires_wp
  • requires_php
  • requires_plugins

Examples

# Get plugin details. $ wp plugin get bbpress --format=json {"name":"bbpress","title":"bbPress","author":"The bbPress Contributors","version":"2.6.9","description":"bbPress is forum software with a twist from the creators of WordPress.","status":"active"}