woocommerce_get_undo_url filter-hookWC 1.0

Usage

add_filter( 'woocommerce_get_undo_url', 'wp_kama_woocommerce_get_undo_url_filter', 10, 2 );

/**
 * Function for `woocommerce_get_undo_url` filter-hook.
 * 
 * @param  $wp_nonce_url() 
 * @param  $cart_item_key  
 *
 * @return 
 */
function wp_kama_woocommerce_get_undo_url_filter( $wp_nonce_url(), $cart_item_key ){

	// filter...
	return $wp_nonce_url();
}
$wp_nonce_url()
-
$cart_item_key
-

Where the hook is called

wc_get_cart_undo_url()
woocommerce_get_undo_url
woocommerce/includes/wc-template-functions.php 3791
return apply_filters( 'woocommerce_get_undo_url', $cart_page_url ? wp_nonce_url( add_query_arg( $query_args, $cart_page_url ), 'woocommerce-cart' ) : '', $cart_item_key );

Where the hook is used in WooCommerce

Usage not found.