File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -254,7 +254,7 @@ Errors if the value can't be incremented.
254254Update a nested value from the cache.
255255
256256~~~
257- wp cache patch <action> <key> <key-path>... [<value>] [--group=<group>] [--format=<format>]
257+ wp cache patch <action> <key> <key-path>... [<value>] [--group=<group>] [--expiration=<expiration>] [-- format=<format>]
258258~~~
259259
260260** OPTIONS**
@@ -283,11 +283,11 @@ wp cache patch <action> <key> <key-path>... [<value>] [--group=<group>] [--forma
283283 default: default
284284 ---
285285
286- [ --expiration=<expiration >]
287- : Define how long to keep the value, in seconds. ` 0 ` means as long as possible.
288- ---
289- default: 0
290- ---
286+ [--expiration=<expiration>]
287+ Define how long to keep the value, in seconds. `0` means as long as possible.
288+ ---
289+ default: 0
290+ ---
291291
292292 [--format=<format>]
293293 The serialization format for the value.
@@ -703,6 +703,9 @@ wp transient patch <action> <key> <key-path>... [<value>] [--format=<format>] [-
703703
704704 [--expiration=<expiration>]
705705 Time until expiration, in seconds.
706+ ---
707+ default: 0
708+ ---
706709
707710 [--network]
708711 Get the value of a network|site transient. On single site, this is
You can’t perform that action at this time.
0 commit comments