mirror of
https://ghproxy.net/https://github.com/wp-cli/handbook.git
synced 2026-07-27 12:47:14 +08:00
389 B
389 B
wp cli cache
Manages the internal WP-CLI cache.
Unless overridden, these commands run on the before_wp_load hook, just before the WP load process begins.
EXAMPLES
# Remove all cached files.
$ wp cli cache clear
Success: Cache cleared.
# Remove all cached files except for the newest version of each one.
$ wp cli cache prune
Success: Cache pruned.