Wp option patch (WP-CLI)
Versie door Jeroen Strompf (overleg | bijdragen) op 29 aug 2022 om 09:11
wp option patch
: Manipulate serialised values.
$ wp help option patch NAME wp option patch DESCRIPTION Updates a nested value in an option. SYNOPSIS wp option patch <action> <key> <key-path>... [<value>] [--format=<format>] OPTIONS <action> Patch action to perform. --- options: - insert - update - delete --- <key> The option name. <key-path>... The name(s) of the keys within the value to locate the value to patch. [<value>] The new value. If omitted, the value is read from STDIN. [--format=<format>] The serialization format for the value. --- default: plaintext options: - plaintext - json ---