WC_Order::is_editable()
Checks if an order can be edited, specifically for use on the Edit Order screen.
Description Description
Return Return
(bool)
Source Source
File: includes/class-wc-order.php
public function is_editable() { return apply_filters( 'wc_order_is_editable', in_array( $this->get_status(), array( 'pending', 'on-hold', 'auto-draft' ), true ), $this ); }