Automattic\WooCommerce\Internal\Admin\Suggestions\Incentives

WooPayments::reset_memo()publicWC 1.0

Reset the memoized incentives.

This is useful for testing purposes.

Method of the class: WooPayments{}

No Hooks.

Return

null. Nothing (null).

Usage

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

WooPayments::reset_memo() code WC 9.6.0

public function reset_memo() {
	$this->incentives_memo = null;
}