WC_Legacy_Cart::get_cart_from_session()
Methods moved to session class in 3.2.0.
Method of the class: WC_Legacy_Cart{}
No Hooks.
Return
null
. Nothing (null).
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)
- -
WC_Legacy_Cart::get_cart_from_session() WC Legacy Cart::get cart from session code WC 8.6.1
public function get_cart_from_session() { $this->session->get_cart_from_session(); }