Automattic\WooCommerce\Internal\Admin\Suggestions\Incentives
WooPayments::clear_cache()
Clear the incentives cache.
Метод класса: WooPayments{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$WooPayments = new WooPayments(); $WooPayments->clear_cache();
Код WooPayments::clear_cache() WooPayments::clear cache WC 9.6.1
public function clear_cache() { delete_transient( $this->cache_transient_name ); $this->reset_memo(); }