Automattic\WooCommerce\Internal\Admin\Suggestions\Incentives

WooPayments::clear_cache()publicWC 1.0

Clear the incentives cache.

Method of the class: WooPayments{}

No Hooks.

Return

null. Nothing (null).

Usage

$WooPayments = new WooPayments();
$WooPayments->clear_cache();

WooPayments::clear_cache() code WC 9.6.0

public function clear_cache() {
	delete_transient( $this->cache_transient_name );
	$this->reset_memo();
}