WC_Cart::get_removed_cart_contents()publicWC 3.2.0

Return items removed from the cart.

Метод класса: WC_Cart{}

Хуков нет.

Возвращает

Массив.

Использование

$WC_Cart = new WC_Cart();
$WC_Cart->get_removed_cart_contents();

Список изменений

С версии 3.2.0 Введена.

Код WC_Cart::get_removed_cart_contents() WC 8.7.0

public function get_removed_cart_contents() {
	return (array) $this->removed_cart_contents;
}