| layout | default |
|---|---|
| title | wp theme get |
| display_global_parameters | true |
wp theme get - Get a theme
Quick links: Github issues
<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>] : Accepted values: table, json, csv, yaml. Default: table
$ wp theme get twentysixteen --fields=name,title,version
+---------+----------------+
| Field | Value |
+---------+----------------+
| name | Twenty Sixteen |
| title | Twenty Sixteen |
| version | 1.2 |
+---------+----------------+