WC_Cart::set_removed_cart_contents( array $value = array() )

Set items removed from the cart.


Description Description


Parameters Parameters

$value

(Optional) Item array.

Default value: array()


Top ↑

Source Source

File: includes/class-wc-cart.php

	public function set_removed_cart_contents( $value = array() ) {
		$this->removed_cart_contents = (array) $value;
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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