From a6639b0f6a6d8022921c5ed5f1b4b52c4ce37a4a Mon Sep 17 00:00:00 2001 From: Nikunj Hatkar Date: Wed, 21 May 2025 18:20:54 +0530 Subject: [PATCH 1/2] Added --network flag example in parent command --- src/Transient_Command.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Transient_Command.php b/src/Transient_Command.php index 9166935a..aa73e6f0 100644 --- a/src/Transient_Command.php +++ b/src/Transient_Command.php @@ -36,6 +36,10 @@ * # Delete all transients. * $ wp transient delete --all * Success: 14 transients deleted from the database. + * + * # Delete all site transients. + * $ wp transient delete --all --network + * Success: 2 transients deleted from the database. */ class Transient_Command extends WP_CLI_Command { From c2bfde620f1d97efc3bbe108f9ba2219fbdb0aae Mon Sep 17 00:00:00 2001 From: Nikunj Hatkar Date: Wed, 21 May 2025 18:26:41 +0530 Subject: [PATCH 2/2] Fixed PHPCS error --- src/Transient_Command.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Transient_Command.php b/src/Transient_Command.php index aa73e6f0..04c09074 100644 --- a/src/Transient_Command.php +++ b/src/Transient_Command.php @@ -36,7 +36,7 @@ * # Delete all transients. * $ wp transient delete --all * Success: 14 transients deleted from the database. - * + * * # Delete all site transients. * $ wp transient delete --all --network * Success: 2 transients deleted from the database.