Created
November 20, 2017 14:56
-
-
Save yratof/9e6f89a2880d3f13b4c13c2de16a6fd0 to your computer and use it in GitHub Desktop.
Delete transients for all sites on a multisite
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| wp site list --field=url | xargs -n1 -I % wp --url=% transient delete-all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment