wp theme get

Gets details about a theme.

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

Options

<theme>

The theme to get.

[--field=<field>]

Instead of returning the whole theme, 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

Examples

$ wp theme get twentysixteen --fields=name,title,version +---------+----------------+ | Field | Value | +---------+----------------+ | name | Twenty Sixteen | | title | Twenty Sixteen | | version | 1.2 | +---------+----------------+