WP Manifestindependent plugin directory
manifest / developer / wp-cli-user-flush-cache

WP CLI Flush Cache

WP-CLI Command: Clear the cache of a user or a site.

by Dominik Schilling · github.com/ocean90/wp-cli-user-flush-cache · website

8stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/ocean90/wp-cli-user-flush-cache/archive/refs/heads/master.zip

ocean90/wp-cli-flush-cache

Clear the cache of a user or a site.

Using

wp user flush-cache <user>

OPTIONS

<user>
    User ID, user email, or user login.

wp site flush-cache <id>

OPTIONS

<id>
    ID of a site.

Installing

Installing this package requires WP-CLI v0.23.0 or greater. Update to the latest stable release with wp cli update.

Once you've done so, you can install this package with wp package install ocean90/wp-cli-flush-cache.