WordPress at a glance
function is not described

WP_Session_Tokens::get_session() protected WP 4.0.0

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

{} It's a method of the class: WP_Session_Tokens{}

No Hooks.


Array|null. The session, or null if it does not exist.


// protected - for code of main (parent) or child class
$result = $this->get_session( $verifier );
$verifier(string) (required)
Verifier for the session to retrieve.


Since 4.0.0 Introduced.

Code of WP_Session_Tokens::get_session() WP 5.7.2

abstract protected function get_session( $verifier );