WP_Session_Tokens::update_session( string $verifier, array $session = null )
This method should update a session by its verifier.
Description
Omitting the second argument should destroy the session.
Parameters
- $verifier
-
(string) (Required) Verifier of the session to update.
- $session
-
(array) (Optional) Session. Omitting this argument destroys the session.
Default value: null
Source
File: wp-includes/class-wp-session-tokens.php
abstract protected function update_session( $verifier, $session = null );
Changelog
Version | Description |
---|---|
WP-4.0.0 | Introduced. |