WordPress at a glance
function is not described

WC_Legacy_Cart::get_cart_from_session() public WC 1.0

Methods moved to session class in 3.2.0.

{} It's a method of the class: WC_Legacy_Cart{}

No Hooks.

Return

Null. Nothing.

Usage

$WC_Legacy_Cart = new WC_Legacy_Cart();
$WC_Legacy_Cart->get_cart_from_session( ) $this->session->get_cart_from_session( );
) $this->session->get_cart_from_session( (required)
-

Code of WC_Legacy_Cart::get_cart_from_session() WC 5.0.0

<?php
public function get_cart_from_session() { $this->session->get_cart_from_session(); }