WC_Cart::get_remove_url( string $cart_item_key )

Gets the url to remove an item from the cart.


Description Description


Parameters Parameters

$cart_item_key

(Required) contains the id of the cart item.


Top ↑

Return Return

(string) url to page


Top ↑

Source Source

File: includes/class-wc-cart.php

	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 );
	}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.