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

do_action('woocommerce_ajax_order_items_added') is found 1 times:

  • /includes/class-wc-ajax.php line 1087
    1084
    1085
    1086
    1087
    1088
    1089
    1090
    1091
    1092
    1093
    /* 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: