WC_Session::__unset( mixed $key )
Magic unset method.
Description Description
Parameters Parameters
- $key
-
(Required) Key to unset.
Source Source
File: includes/abstracts/abstract-wc-session.php
public function __unset( $key ) { if ( isset( $this->_data[ $key ] ) ) { unset( $this->_data[ $key ] ); $this->_dirty = true; } }