WC_Session::__unset()
Magic unset method.
Метод класса: WC_Session{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$WC_Session = new WC_Session(); $WC_Session->__unset( $key );
- $key(разное) (обязательный)
- Key to unset.
Код WC_Session::__unset() WC Session:: unset WC 9.7.1
public function __unset( $key ) { if ( isset( $this->_data[ $key ] ) ) { unset( $this->_data[ $key ] ); $this->_dirty = true; } }