session_token_manager WordPress Filter Hook
The session_token_manager hook allows a plugin to manage the session tokens for a user. This is useful for cases where a user's session needs to be invalidated or where a user needs to be logged out of all sessions.
apply_filters( 'session_token_manager', string $session ) #
Filters the class name for the session token manager.
Parameters
- $session
(string)Name of class to use as the manager. Default 'WP_User_Meta_Session_Tokens'.
Source
Changelog
Version | Description |
---|---|
4.0.0 | Introduced. |