WPDev.one
Core Function
View Source on Trac ↗

wp_get_all_sessions()

wp_get_all_sessions( )

Retrieves a list of sessions for the current user.

Return Value

(array)
Array of sessions.

Function Information

Since Version
4.0.0
Source File
wp-includes/user.php
Advertisement