Automattic\WooCommerce\Internal\Admin\Suggestions\Incentives

WooPayments::reset_memo()publicWC 1.0

Reset the memoized incentives.

This is useful for testing purposes.

Метод класса: WooPayments{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

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

Код WooPayments::reset_memo() WC 9.6.1

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