WC_Cart::get_removed_cart_contents()
Return items removed from the cart.
Method of the class: WC_Cart{}
No Hooks.
Return
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 8.7.0
public function get_removed_cart_contents() { return (array) $this->removed_cart_contents; }