Automattic\WooCommerce\StoreApi
SessionHandler::__construct
Constructor for the session class.
Метод класса: SessionHandler{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$SessionHandler = new SessionHandler(); $SessionHandler->__construct();
Код SessionHandler::__construct() SessionHandler:: construct WC 11.3.0
public function __construct() {
$this->token = CartTokenUtils::get_request_cart_token();
$this->table = $GLOBALS['wpdb']->prefix . 'woocommerce_sessions';
}