woocommerce_rest_remove_order_item
woocommerce_rest_remove_order_item
Appears in: woocommerce.9.3.1, woocommerce.9.3.3, woocommerce.9.4.2, woocommerce.9.4.3, woocommerce.9.5.1
Hook Type: action
Displaying hooks found in version: woocommerce.9.5.1do_action('woocommerce_rest_remove_order_item') is found 1 times:
- /includes/rest-api/Controllers/Version3/class-wc-rest-orders-controller.php line 233
* @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.