A command line interface for WordPress
Commands » transient » delete
wp transient delete - Delete a transient value.
Quick links: Github issues
- Key for the transient.
- Delete the value of a network transient, instead of that on a single site.
- Delete all transients.
- Delete all expired transients.
# Delete transient.
$ wp transient delete sample_key
Success: Transient deleted.
# Delete expired transients.
$ wp transient delete --expired
Success: 12 expired transients deleted from the database.
# Delete all transients.
$ wp transient delete --all
Success: 14 transients deleted from the database.