Uses
Uses | Description |
---|---|
wp-includes/class-wp-session-tokens.php: WP_Session_Tokens::get_sessions() | Retrieves all sessions of the user. |
Retrieves all sessions for a user.
(array) Sessions for a user.
File: wp-includes/class-wp-session-tokens.php
final public function get_all() { return array_values( $this->get_sessions() ); }
Version | Description |
---|---|
4.0.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_session_tokens/get_all