WordPress at a glance
function is not described

WP_Session_Tokens::__construct() protected WP 4.0.0

Protected constructor. Use the get_instance() method to get the instance.

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

No Hooks.

Return

Null. Nothing.

Usage

// protected - for code of main (parent) or child class
$result = $this->__construct( $user_id );
$user_id(int) (required)
User whose session to manage.

Changelog

Since 4.0.0 Introduced.

Code of WP_Session_Tokens::__construct() WP 5.5.2

<?php
protected function __construct( $user_id ) {
	$this->user_id = $user_id;
}