woocommerce_rest_remove_order_item

woocommerce_rest_remove_order_item

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.9.3.1

do_action('woocommerce_rest_remove_order_item') is found 1 times:

  • /includes/rest-api/Controllers/Version3/class-wc-rest-orders-controller.php line 208
    		 * @param WC_Order_Item $item The item object.
    		 *
    		 * @since 9.3.0.
    		 */
    		do_action( 'woocommerce_rest_remove_order_item', $item );
    
    		$order->remove_item( $item_id );
    	}
    
    	/**
    	 * Save an object data.