WC_Order::is_editable() public WC 1.0
Checks if an order can be edited, specifically for use on the Edit Order screen.
{} It's a method of the class: WC_Order{}
Hooks from the method
Return
true/false.
Usage
$WC_Order = new WC_Order(); $WC_Order->is_editable();
Code of WC_Order::is_editable() WC Order::is editable WC 5.0.0
public function is_editable() {
return apply_filters( 'wc_order_is_editable', in_array( $this->get_status(), array( 'pending', 'on-hold', 'auto-draft' ), true ), $this );
}