WP_Session_Tokens::get_all()

Retrieves all sessions for a user.

Return

(array) Sessions for a user.

Source

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

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

Changelog

Version Description
4.0.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_session_tokens/get_all