Automattic\WooCommerce\Vendor\Pelago\Emogrifier

CssInliner::clearAllCachesprivateWC 1.0

Clears all caches.

Method of the class: CssInliner{}

No Hooks.

Returns

null. Nothing (null).

Usage

// private - for code of main (parent) class only
$result = $this->clearAllCaches(): void;

CssInliner::clearAllCaches() code WC 10.8.1

private function clearAllCaches(): void
{
    $this->caches = [
        self::CACHE_KEY_SELECTOR => [],
        self::CACHE_KEY_COMBINED_STYLES => [],
    ];
}