WC_Cart::is_empty()
Checks if the cart is empty.
Description Description
Return Return
(bool)
Source Source
File: includes/class-wc-cart.php
public function is_empty() {
return 0 === count( $this->get_cart() );
}
Checks if the cart is empty.
(bool)
File: includes/class-wc-cart.php
public function is_empty() {
return 0 === count( $this->get_cart() );
}