woocommerce_ajax_order_items_removed

woocommerce_ajax_order_items_removed

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

do_action('woocommerce_ajax_order_items_removed') is found 1 times:

  • /includes/class-wc-ajax.php line 1409
    			 * @param WC_Order_Item|false $item As returned by $order->get_item( $item_id ).
    			 * @param bool|array|WP_Error $changed_store Result of wc_maybe_adjust_line_item_product_stock().
    			 * @param bool|WC_Order|WC_Order_Refund $order As returned by wc_get_order().
    			 */
    			do_action( 'woocommerce_ajax_order_items_removed', $item_id ?? 0, $item ?? false, $changed_stock ?? false, $order );
    
    			// Get HTML to return.
    			ob_start();
    			include __DIR__ . '/admin/meta-boxes/views/html-order-items.php';
    			$items_html = ob_get_clean();