WordPress at a glance
function is not described

WP_Session_Tokens::get_all() public WP 4.0.0

Retrieves all sessions for a user.

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

No Hooks.

Return

Array. Sessions for a user.

Usage

$WP_Session_Tokens = new WP_Session_Tokens();
$WP_Session_Tokens->get_all();

Changelog

Since 4.0.0 Introduced.

Code of WP_Session_Tokens::get_all() WP 5.5.1

<?php
final public function get_all() {
	return array_values( $this->get_sessions() );
}