WC_Cart::get_undo_url( string $cart_item_key )
Gets the url to re-add an item into the cart.
Description Description
Parameters Parameters
- $cart_item_key
-
(Required) Cart item key to undo.
Return Return
(string) url to page
Source Source
File: includes/class-wc-cart.php
public function get_undo_url( $cart_item_key ) { wc_deprecated_function( 'WC_Cart::get_undo_url', '3.3', 'wc_get_cart_undo_url' ); return wc_get_cart_undo_url( $cart_item_key ); }