woocommerce_add_to_cart_handler filter-hookWC 1.0

Usage

add_filter( 'woocommerce_add_to_cart_handler', 'wp_kama_woocommerce_add_to_cart_handler_filter', 10, 2 );

/**
 * Function for `woocommerce_add_to_cart_handler` filter-hook.
 * 
 * @param  $adding_to_cart_type 
 * @param  $adding_to_cart      
 *
 * @return 
 */
function wp_kama_woocommerce_add_to_cart_handler_filter( $adding_to_cart_type, $adding_to_cart ){

	// filter...
	return $adding_to_cart_type;
}
$adding_to_cart_type
-
$adding_to_cart
-

Where the hook is called

WC_Form_Handler::add_to_cart_action()
woocommerce_add_to_cart_handler
woocommerce/includes/class-wc-form-handler.php 787
$add_to_cart_handler = apply_filters( 'woocommerce_add_to_cart_handler', $adding_to_cart->get_type(), $adding_to_cart );

Where the hook is used in WooCommerce

Usage not found.