Automattic\WooCommerce\Internal\Admin\Suggestions\Incentives

WooPayments::clear_cache │ public │ WC 1.0

Clear the incentives cache.

Method of the class: WooPayments{}

No Hooks.

Returns

null. Nothing (null).

Usage

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

WooPayments::clear_cache() code WC 11.3.0

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