WordPress at a glance
function is not described

WP_Session_Tokens::update() public WP 4.0.0

Updates the data for the session with the given token.

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

No Hooks.

Return

Null. Nothing.

Usage

$WP_Session_Tokens = new WP_Session_Tokens();
$WP_Session_Tokens->update( $token, $session );
$token(string) (required)
Session token to update.
$session(array) (required)
Session information.

Changelog

Since 4.0.0 Introduced.

Code of WP_Session_Tokens::update() WP 5.5.1

<?php
final public function update( $token, $session ) {
	$verifier = $this->hash_token( $token );
	$this->update_session( $verifier, $session );
}