WC_Order::untrash
Attempts to restore the specified order back to its original status (after having been trashed).
Method of the class: WC_Order{}
No Hooks.
Returns
true|false. If the operation was successful.
Usage
$WC_Order = new WC_Order(); $WC_Order->untrash(): bool;
WC_Order::untrash() WC Order::untrash code WC 10.4.3
public function untrash(): bool {
return (bool) $this->data_store->untrash_order( $this );
}