wp theme mod list

Gets a list of theme mods.

wp theme mod list [--field=<field>] [--format=<format>]

Options

[--field=<field>]

Returns the value of a single field.

[--format=<format>]

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

Options:
  • table
  • json
  • csv
  • yaml

Examples

# Gets a list of theme mods. $ wp theme mod list +------------------+---------+ | key | value | +------------------+---------+ | background_color | dd3333 | | link_color | #dd9933 | | main_text_color | #8224e3 | +------------------+---------+