WC_Legacy_Cart::persistent_cart_destroy()
Method of the class: WC_Legacy_Cart{}
No Hooks.
Return
null
. Nothing (null).
Usage
$WC_Legacy_Cart = new WC_Legacy_Cart(); $WC_Legacy_Cart->persistent_cart_destroy( ) $this->session->persistent_cart_destroy( );
- ) $this->session->persistent_cart_destroy( (required)
- -
WC_Legacy_Cart::persistent_cart_destroy() WC Legacy Cart::persistent cart destroy code WC 8.7.0
public function persistent_cart_destroy() { $this->session->persistent_cart_destroy(); }