Automattic\WooCommerce\Internal\Admin\Suggestions\Incentives
WooPayments::clear_cache()
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() WooPayments::clear cache code WC 9.6.0
public function clear_cache() { delete_transient( $this->cache_transient_name ); $this->reset_memo(); }