WC_Session_Handler::__construct
Constructor for the session class.
Method of the class: WC_Session_Handler{}
Hooks from the method
Returns
null
. Nothing (null).
Usage
$WC_Session_Handler = new WC_Session_Handler(); $WC_Session_Handler->__construct();
WC_Session_Handler::__construct() WC Session Handler:: construct code WC 9.9.5
public function __construct() { $this->_cookie = apply_filters( 'woocommerce_cookie', 'wp_woocommerce_session_' . COOKIEHASH ); $this->_table = $GLOBALS['wpdb']->prefix . 'woocommerce_sessions'; }