mirror of
https://ghproxy.net/https://github.com/wp-cli/wp-cli-bundle.git
synced 2025-10-04 22:34:23 +08:00
wp transient delete-all
is now wp transient delete --all
This commit is contained in:
parent
87e7005c9b
commit
478e93d58a
1 changed files with 2 additions and 2 deletions
|
@ -24,10 +24,10 @@ Activating 'rest-api'...
|
|||
Success: Plugin 'rest-api' activated.
|
||||
```
|
||||
|
||||
WP-CLI also includes commands for many things you can't do in the WordPress admin. For example, `wp transient delete-all` ([doc](https://wp-cli.org/commands/transient/delete-all/)) lets you delete one or all transients:
|
||||
WP-CLI also includes commands for many things you can't do in the WordPress admin. For example, `wp transient delete --all` ([doc](https://wp-cli.org/commands/transient/delete/)) lets you delete one or all transients:
|
||||
|
||||
```bash
|
||||
$ wp transient delete-all
|
||||
$ wp transient delete --all
|
||||
Success: 34 transients deleted from the database.
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue