WordPress at a glance
function is not described

WP_Session_Tokens::get() public WP 4.0.0

Retrieves a user's session for the given token.

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

No Hooks.

Return

Array/null. The session, or null if it does not exist.

Usage

$WP_Session_Tokens = new WP_Session_Tokens();
$WP_Session_Tokens->get( $token );
$token(string) (required)
Session token.

Changelog

Since 4.0.0 Introduced.

Code of WP_Session_Tokens::get() WP 5.5.1

<?php
final public function get( $token ) {
	$verifier = $this->hash_token( $token );
	return $this->get_session( $verifier );
}