WP_Session_Tokens::update_session

SummerySummery

Updates a session based on its verifier (token hash).

Syntax

WP_Session_Tokens::update_session( string $verifier, array $session = null )

DescriptionDescription

Omitting the second argument destroys the session.

ParametersParameters

$verifier

(string) (Required) Verifier for the session to update.

$session

(array) (Optional) Session. Omitting this argument destroys the session.

Default value: null

SourceSource

File: wp-includes/class-wp-session-tokens.php


			

ChangelogChangelog

Changelog
Version Description
4.0.0 Introduced.
Scroll to Top