WC_Session::__get()publicWC 1.0

Magic get method.

{} It's a method of the class: WC_Session{}

No Hooks.

Return

Mixed.

Usage

$WC_Session = new WC_Session();
$WC_Session->__get( $key );
$key(mixed) (required)
Key to get.

Code of WC_Session::__get() WC 6.8.2

public function __get( $key ) {
	return $this->get( $key );
}