wc_order_is_editable

wc_order_is_editable

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('wc_order_is_editable') is found 1 times:

  • /includes/class-wc-order.php line 1653
    		 * @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