WordPress at Your Fingertips
filter is not described

woocommerce_product_add_to_cart_url filter-hook . WC 1.0

Get the add to url used mainly in loops.

Usage

add_filter( 'woocommerce_product_add_to_cart_url', 'filter_function_name_6866', 10, 2 );
function filter_function_name_6866( $permalink, $that ){
	// filter...

	return $permalink;
}
$permalink
-
$that
-

Where the hook is called

WC_Product::add_to_cart_url()
woocommerce_product_add_to_cart_url
WC_Product_Variation::add_to_cart_url()
woocommerce_product_add_to_cart_url
WC_Product_Simple::add_to_cart_url()
woocommerce_product_add_to_cart_url
WC_Product_External::add_to_cart_url()
woocommerce_product_add_to_cart_url
woocommerce/includes/abstracts/abstract-wc-product.php 1878
return apply_filters( 'woocommerce_product_add_to_cart_url', $this->get_permalink(), $this );
woocommerce/includes/class-wc-product-variation.php 203
return apply_filters( 'woocommerce_product_add_to_cart_url', $url, $this );
woocommerce/includes/class-wc-product-simple.php 51
return apply_filters( 'woocommerce_product_add_to_cart_url', $url, $this );
woocommerce/includes/class-wc-product-external.php 161
return apply_filters( 'woocommerce_product_add_to_cart_url', $this->get_product_url(), $this );

Where in WP core the hook is used WooCommerce

Usage not found.