Wp option patch (WP-CLI): verschil tussen versies
Naar navigatie springen
Naar zoeken springen
(3 tussenliggende versies door dezelfde gebruiker niet weergegeven) | |||
Regel 1: | Regel 1: | ||
− | <code>wp option patch</code>: | + | <code>wp option patch</code>: Manipulate ''serialised values''. |
<pre> | <pre> | ||
Regel 47: | Regel 47: | ||
</pre> | </pre> | ||
− | == | + | == See also == |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
* [[wp option (WP-CLI) | wp option]] | * [[wp option (WP-CLI) | wp option]] | ||
Regel 155: | Regel 54: | ||
* [[wp option get (WP-CLI) | wp option get]] | * [[wp option get (WP-CLI) | wp option get]] | ||
* [[wp option list (WP-CLI) | wp option list]] | * [[wp option list (WP-CLI) | wp option list]] | ||
+ | * [[wp option patch delete (WP-CLI) | wp option patch delete]] | ||
+ | * [[wp option patch insert (WP-CLI) | wp option patch insert]] | ||
+ | * [[wp option patch update (WP-CLI) | wp option patch update]] | ||
* [[wp option pluck (WP-CLI) | wp option pluck]] | * [[wp option pluck (WP-CLI) | wp option pluck]] | ||
* [[wp option update (WP-CLI) | wp option update]] | * [[wp option update (WP-CLI) | wp option update]] |
Huidige versie van 29 aug 2022 om 07: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 ---