WP_Session_Tokens::get_sessions()protectedWP 4.0.0

Retrieves all sessions of the user.

Method of the class: WP_Session_Tokens{}

No Hooks.

Return

Array. Sessions of the user.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_sessions();

Changelog

Since 4.0.0 Introduced.

WP_Session_Tokens::get_sessions() code WP 6.4.3

abstract protected function get_sessions();