WC_Cart_Session::get_cart_from_session()
Method: Get the cart data from the PHP session and store it in class variables.
Source: includes/class-wc-cart-session.php:71
Method: Get the cart data from the PHP session and store it in class variables.
Source: includes/class-wc-cart-session.php:71
Filter Hook: Allow 3rd parties to validate this item before it’s added to cart and add their own notices.
Source: includes/class-wc-cart-session.php:127
Filter Hook: Filter message about item removed from the cart.
Source: includes/class-wc-cart-session.php:142
Method: Destroy cart session data.
Source: includes/class-wc-cart-session.php:196
Method: Will set cart cookies if needed and when possible.
Source: includes/class-wc-cart-session.php:211
Method: Sets the php session data for the cart and coupons.
Source: includes/class-wc-cart-session.php:224
Method: Returns the contents of the cart in an array without the ‘data’ element.
Source: includes/class-wc-cart-session.php:240
Method: Save the persistent cart when the cart is updated.
Source: includes/class-wc-cart-session.php:254
Method: Delete the persistent cart permanently.
Source: includes/class-wc-cart-session.php:269
Method: Set cart hash cookie and items in cart if not already set.
Source: includes/class-wc-cart-session.php:280