WP_Session_Tokens::get( string $token )

Get a user’s session.


Parameters

$token

(Required) Session token


Return

(array) User session


Source

File: wp-includes/class-wp-session-tokens.php

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


Changelog

Changelog
Version Description
WP-4.0.0 Introduced.