WC_Cart::get_remove_url()publicWC 1.0

Gets the url to remove an item from the cart.

Method of the class: WC_Cart{}

No Hooks.

Return

String. url to page

Usage

$WC_Cart = new WC_Cart();
$WC_Cart->get_remove_url( $cart_item_key );
$cart_item_key(string) (required)
contains the id of the cart item.

WC_Cart::get_remove_url() code WC 8.7.0

public function get_remove_url( $cart_item_key ) {
	wc_deprecated_function( 'WC_Cart::get_remove_url', '3.3', 'wc_get_cart_remove_url' );

	return wc_get_cart_remove_url( $cart_item_key );
}