Zum Inhalt wechseln

Lizenz-Befehle

Lizenz aktivieren

shell
wp impressum license activate

Optionen

[<license_email>]
: Email address of the license

[<license_key>]
: Key of the license

[--network]
: Activate the license for the whole network.

Beispiele

shell
# Activate license with already stored data.
$ wp impressum license activate
Success: Impressum Plus activated.

# Activate license with given data.
$ wp impressum license activate admin@example.com 8916de71-cf6e-4145-bd6c-a15d1cb8e821
Success: Impressum Plus activated.

# Activate license for the whole network.
$ wp impressum license activate --network
Success: Impressum Plus activated.

Lizenz deaktivieren

shell
wp impressum license deactivate

Beispiele

shell
# Deactivate the license.
$ wp impressum license deactivate
Success: Impressum Plus deactivated.

Lizenz-Daten erhalten

shell
wp impressum license get

Optionen

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

Beispiele

shell
# Get field.
$ wp impressum license get license_email
admin@example.com

Lizenz-Daten aktualisieren

shell
wp impressum license update <field>

Optionen

<field>
: Field name of the data.

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

Beispiele

shell
# Update country field.
$ wp impressum license update license_email admin@example.com
Success: Updated 'license_email' field.

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

Lizenz-Daten löschen

shell
wp impressum license delete

Optionen

<field>
: Field name of the data.

Beispiele

shell
# Delete field.
$ wp impressum license delete license_email
Deleted 'license_email' field.

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