Skip to content

Commit e4fc227

Browse files
committed
Merge branch 'main' into add/phpstan
2 parents bca0905 + 025bd1a commit e4fc227

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,10 @@ the transient cache skips the database and simply wraps the WP Object Cache.
497497
$ wp transient delete --all
498498
Success: 14 transients deleted from the database.
499499

500+
# Delete all site transients.
501+
$ wp transient delete --all --network
502+
Success: 2 transients deleted from the database.
503+
500504

501505

502506
### wp transient delete

src/Transient_Command.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@
3636
* # Delete all transients.
3737
* $ wp transient delete --all
3838
* Success: 14 transients deleted from the database.
39+
*
40+
* # Delete all site transients.
41+
* $ wp transient delete --all --network
42+
* Success: 2 transients deleted from the database.
3943
*/
4044
class Transient_Command extends WP_CLI_Command {
4145

0 commit comments

Comments
 (0)