WC_Session_Handler::__construct()
Constructor for the session class.
Method of the class: WC_Session_Handler{}
Hooks from the method
Return
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 8.7.0
public function __construct() { $this->_cookie = apply_filters( 'woocommerce_cookie', 'wp_woocommerce_session_' . COOKIEHASH ); $this->_table = $GLOBALS['wpdb']->prefix . 'woocommerce_sessions'; }