WordPress at a glance
filter is not described

woocommerce_add_to_cart_redirect filter-hook . WC 1.0

If we added the product to the cart we can now optionally do a redirect.

Usage

add_filter( 'woocommerce_add_to_cart_redirect', 'filter_function_name_583', 10, 2 );
function filter_function_name_583( $url, $adding_to_cart ){
	// filter...

	return $url;
}
$url
-
$adding_to_cart
-

Where the hook is called

WC_Form_Handler::add_to_cart_action()
woocommerce_add_to_cart_redirect
WC_Frontend_Scripts::get_script_data()
woocommerce_add_to_cart_redirect
woocommerce/includes/class-wc-form-handler.php 801
$url = apply_filters( 'woocommerce_add_to_cart_redirect', $url, $adding_to_cart );
woocommerce/includes/class-wc-frontend-scripts.php 562
'cart_url'                => apply_filters( 'woocommerce_add_to_cart_redirect', wc_get_cart_url(), null ),

Where in WP core the hook is used WooCommerce

Usage not found.