WC_Cart::get_removed_cart_contents()
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 Cart::get removed cart contents WC 9.5.1
public function get_removed_cart_contents() { return (array) $this->removed_cart_contents; }