Automattic\WooCommerce\Internal\Admin\Suggestions\Incentives
WooPayments::reset_memo()
Reset the memoized incentives.
This is useful for testing purposes.
Метод класса: WooPayments{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$WooPayments = new WooPayments(); $WooPayments->reset_memo();
Код WooPayments::reset_memo() WooPayments::reset memo WC 9.6.1
public function reset_memo() { $this->incentives_memo = null; }