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.
Subcommands
| Name | Description |
|---|---|
| wp cli cache clear | Clears the internal cache. |
| wp cli cache prune | Prunes the internal cache. |