Skip to content

Imprint commands

Get imprint data

wp impressum get

Options

[<field>]
: Field name of the data.

[--human-readable]
: Get a human-readable format instead of the raw format, if supported by the field.

Examples

shell
# Get field.
$ wp impressum get country
deu

# Get field in human-readable format
$ wp impressum get country --human-readable
Germany

Update imprint data

shell
wp impressum update <field>

Options

<field>
: Field name of the data.

[<value>]
: The new value. If omitted, the value is read from STDIN.

Examples

shell
# Update country field.
$ wp impressum update country usa
Success: Updated 'country' field.

# Update a field by reading from a file.
$ wp impressum update country < value.txt
Success: Updated 'country' option.

Delete imprint data

shell
wp impressum delete

Options

[<field>]
: Field name of the data.

Examples

shell
# Delete field.
$ wp impressum delete country
Deleted 'country' field.

# Delete all fields
$ wp impressum delete
Success: Deleted all Impressum data.