woocommerce_ajax_order_items_added action-hookWC 1.0

translators: %s item name.

Usage

add_action( 'woocommerce_ajax_order_items_added', 'wp_kama_woocommerce_ajax_order_items_added_action', 10, 2 );

/**
 * Function for `woocommerce_ajax_order_items_added` action-hook.
 * 
 * @param  $added_items 
 * @param  $order       
 *
 * @return void
 */
function wp_kama_woocommerce_ajax_order_items_added_action( $added_items, $order ){

	// action...
}
$added_items
-
$order
-

Where the hook is called

WC_AJAX::maybe_add_order_item()
woocommerce_ajax_order_items_added
woocommerce/includes/class-wc-ajax.php 984
do_action( 'woocommerce_ajax_order_items_added', $added_items, $order );

Where the hook is used in WooCommerce

Usage not found.