WordPress at Your Fingertips
function is not described

WC_Session::init() public WC 3.3.0

Init hooks and session data. Extended by child classes.

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

No Hooks.

Return

null. Nothing.

Usage

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

Changelog

Since 3.3.0 Introduced.

Code of WC_Session::init() WC 5.8.0

public function init() {}