wc_order_is_editable, in_array( $this->get_status(

wc_order_is_editable, in_array( $this->get_status(

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.11.0.0

apply_filters('wc_order_is_editable, in_array( $this->get_status(') is found 1 times:

  • /includes/class-wc-order.php line 1715
    		 * @param bool     $is_editable Is the order editable.
    		 * @param WC_Order $this        Order object.
    		 * @since 2.7.0
    		 */
    		return apply_filters( 'wc_order_is_editable', in_array( $this->get_status(), array( OrderStatus::PENDING, OrderStatus::ON_HOLD, OrderStatus::AUTO_DRAFT ), true ), $this );
    	}
    
    	/**
    	 * Returns if an order has been paid for based on the order status.
    	 *
    	 * @since 2.5.0