WC_Session::__isset()publicWC 1.0

Magic isset method.

Method of the class: WC_Session{}

No Hooks.

Return

true|false.

Usage

$WC_Session = new WC_Session();
$WC_Session->__isset( $key );
$key(mixed) (required)
Key to check.

WC_Session::__isset() code WC 8.7.0

public function __isset( $key ) {
	return isset( $this->_data[ sanitize_title( $key ) ] );
}