Updates a session based on its verifier (token hash).
Omitting the second argument destroys the session.
$verifierstringrequired
$sessionarrayoptional
Default:null
abstract protected function update_session( $verifier, $session = null );
| Version | Description |
|---|---|
| 4.0.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_session_tokens/update_session