woocommerce_ajax_order_items_added

woocommerce_ajax_order_items_added

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

do_action('woocommerce_ajax_order_items_added') is found 1 times:

  • /includes/class-wc-ajax.php line 1085
     
    			/* translators: %s item name. */
    			$order->add_order_note( sprintf( __( 'Added line items: %s', 'woocommerce' ), implode( ', ', $order_notes ) ), false, true );
    
    			do_action( 'woocommerce_ajax_order_items_added', $added_items, $order );
    
    			$data = get_post_meta( $order_id );
    
    			// Get HTML to return.
    			ob_start();
    			include __DIR__ . '/admin/meta-boxes/views/html-order-items.php';
    

See this hook used in plugins: