New and updated in 4.0.0
-
Updates a session based on its verifier (token hash).
-
Destroys all sessions for this user, except the single session with the given verifier.
-
Destroys all sessions for the user.
-
Destroys all sessions for all users.
-
Retrieves all sessions of the user.
-
Retrieves a session based on its verifier (token hash).
-
Generates a session token and attaches session information to it.
-
Filters the information attached to the newly created session.
-
Updates the data for the session with the given token.
-
Destroys the session with the given token.
-
Destroys all sessions for this user except the one with the given token (presumably the one in use).
-
Determines whether a session is still valid, based on its expiration timestamp.
-
Destroys all sessions for a user.
-
Filters the class name for the session token manager.
-
Destroys all sessions for all users.
-
Hashes the given session token for storage.
-
Retrieves all sessions for a user.
-
methodWP_Session_Tokens::get()
Retrieves a user’s session for the given token.
-
Validates the given session token for authenticity and validity.
-
classWP_Session_Tokens
Abstract class for managing user session tokens.
-
Protected constructor. Use the `get_instance()` method to get the instance.