WP_Session_Tokens::update( string $token, array $session )

In this article

Updates the data for the session with the given token.

Parameters

$tokenstringrequired
Session token to update.
$sessionarrayrequired
Session information.

Source

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

Changelog

VersionDescription
4.0.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.