You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Sometimes you might need to clean all the post caches. Eg after doing a search and replace. Here's an easy way to do this without wiping the whole memcache.
* @author Allan Collins <allan.collins@10up.com>
*
*/
class Clearpostcache_Command extends WP_CLI_Command {
/**
* Queries posts, loops through results and then cleans each post cache.