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.9.5

do_action('woocommerce_ajax_order_items_added') is found 1 times:

  • /includes/class-wc-ajax.php line 1104
     
    			/* 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 );
    
    			$order = wc_get_order( $order_id );
    
    			// Get HTML to return.
    

See this hook used in plugins: