WC_Session::__unset( mixed $key )

Magic unset method.


Description Description


Parameters Parameters

$key

(Required) Key to unset.


Top ↑

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;
		}
	}

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.