WC_Cart::get_removed_cart_contents
Return items removed from the cart.
Method of the class: WC_Cart{}
No Hooks.
Returns
Array.
Usage
$WC_Cart = new WC_Cart(); $WC_Cart->get_removed_cart_contents();
Changelog
| Since 3.2.0 | Introduced. |
WC_Cart::get_removed_cart_contents() WC Cart::get removed cart contents code WC 10.3.6
public function get_removed_cart_contents() {
return (array) $this->removed_cart_contents;
}