WP_User_Meta_Session_Tokens::get_session

SummerySummery

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

Syntax

WP_User_Meta_Session_Tokens::get_session( string $verifier )

ParametersParameters

$verifier

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

ReturnReturn

(array|null) The session, or null if it does not exist

SourceSource

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


			

ChangelogChangelog

Changelog
Version Description
4.0.0 Introduced.
Scroll to Top