WordPress at Your Fingertips
function is not described

WC_Session::__set() public WC 1.0

Magic set method.

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

No Hooks.

Return

null. Nothing.

Usage

$WC_Session = new WC_Session();
$WC_Session->__set( $key, $value );
$key(mixed) (required)
Key to set.
$value(mixed) (required)
Value to set.

Code of WC_Session::__set() WC 5.8.0

public function __set( $key, $value ) {
	$this->set( $key, $value );
}