WordPress at Your Fingertips
function is not described

WC_Session_Handler::__construct() public WC 1.0

Constructor for the session class.

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

Hooks from the method

Return

null. Nothing.

Usage

$WC_Session_Handler = new WC_Session_Handler();
$WC_Session_Handler->__construct();

Code of WC_Session_Handler::__construct() WC 5.9.0

public function __construct() {
	$this->_cookie = apply_filters( 'woocommerce_cookie', 'wp_woocommerce_session_' . COOKIEHASH );
	$this->_table  = $GLOBALS['wpdb']->prefix . 'woocommerce_sessions';
}