Automattic\WooCommerce\Internal\Admin\Suggestions\Incentives
WooPayments::reset_memo()
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() WooPayments::reset memo code WC 9.6.0
public function reset_memo() { $this->incentives_memo = null; }