Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 996 Bytes

File metadata and controls

41 lines (27 loc) · 996 Bytes
layout default
title wp theme get
display_global_parameters true

Commands » theme » get

wp theme get - Get a theme

Quick links: Github issues


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>] : Accepted values: table, json, csv, yaml. Default: table

EXAMPLES

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