WC_Legacy_Cart::maybe_set_cart_cookies()publicWC 1.0

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->maybe_set_cart_cookies( ) $this->session->maybe_set_cart_cookies( );
) $this->session->maybe_set_cart_cookies( (required)
-

WC_Legacy_Cart::maybe_set_cart_cookies() code WC 8.9.0

public function maybe_set_cart_cookies() { $this->session->maybe_set_cart_cookies(); }