Automattic\WP\Cron_Control\CLI\Cache::flush_internal_caches PHP Method

flush_internal_caches() public method

Flush the cache
public flush_internal_caches ( $args, $assoc_args )
    public function flush_internal_caches($args, $assoc_args)
    {
        $flushed = \Automattic\WP\Cron_Control\_flush_internal_caches();
        if ($flushed) {
            \WP_CLI::success(__('Internal caches cleared', 'automattic-cron-control'));
        } else {
            \WP_CLI::warning(__('No caches to clear', 'automattic-cron-control'));
        }
    }