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