WC_Session::initpublicWC 3.3.0

Init hooks and session data. Extended by child classes.

Method of the class: WC_Session{}

No Hooks.

Returns

null. Nothing (null).

Usage

$WC_Session = new WC_Session();
$WC_Session->init();

Changelog

Since 3.3.0 Introduced.

WC_Session::init() code WC 10.7.0

public function init() {}