woocommerce_ajax_added_to_cart action-hookWC 1.0

Usage

add_action( 'woocommerce_ajax_added_to_cart', 'wp_kama_woocommerce_ajax_added_to_cart_action' );

/**
 * Function for `woocommerce_ajax_added_to_cart` action-hook.
 * 
 * @param  $product_id 
 *
 * @return void
 */
function wp_kama_woocommerce_ajax_added_to_cart_action( $product_id ){

	// action...
}
$product_id
-

Where the hook is called

WC_AJAX::add_to_cart()
woocommerce_ajax_added_to_cart
woocommerce/includes/class-wc-ajax.php 419
do_action( 'woocommerce_ajax_added_to_cart', $product_id );

Where the hook is used in WooCommerce

Usage not found.