WordPress at Your Fingertips
function is not described

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

Code of WC_Legacy_Cart::maybe_set_cart_cookies() WC 5.7.1

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