Automattic\WooCommerce\Internal\Caches
ProductTransientsDeferrer::handle_shutdown
Handle the shutdown hook.
Flushes pending deletions if deferral was not explicitly stopped.
Метод класса: ProductTransientsDeferrer{}
Хуков нет.
Возвращает
void. Ничего (null).
Использование
$ProductTransientsDeferrer = new ProductTransientsDeferrer(); $ProductTransientsDeferrer->handle_shutdown(): void;
Код ProductTransientsDeferrer::handle_shutdown() ProductTransientsDeferrer::handle shutdown WC 11.2.2
public function handle_shutdown(): void {
$this->deferral_level = 0;
$this->flush();
}