WP_Session_Tokens::update( string $token, array $session )
Update a session token.
Parameters
- $token
-
(Required) Session token to update.
- $session
-
(Required) Session information.
Source
File: wp-includes/class-wp-session-tokens.php
final public function update( $token, $session ) {
$verifier = $this->hash_token( $token );
$this->update_session( $verifier, $session );
}
Changelog
Version | Description |
---|---|
WP-4.0.0 | Introduced. |