Skip to content

Commit a315bfc

Browse files
committed
Regenerate README file - 2025-11-02
1 parent 283ccb2 commit a315bfc

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

README.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ Errors if the value can't be incremented.
254254
Update 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

0 commit comments

Comments
 (0)