WC_Order::is_editable()

Checks if an order can be edited, specifically for use on the Edit Order screen.


Description Description


Return Return

(bool)


Top ↑

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 );
	}

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.