WC_Order::untrash
Attempts to restore the specified order back to its original status (after having been trashed).
Метод класса: WC_Order{}
Хуков нет.
Возвращает
true|false. If the operation was successful.
Использование
$WC_Order = new WC_Order(); $WC_Order->untrash(): bool;
Код WC_Order::untrash() WC Order::untrash WC 10.8.1
public function untrash(): bool {
return (bool) $this->data_store->untrash_order( $this );
}