WP_Session_Tokens::destroy_all_sessions() WordPress Method
The WP_Session_Tokens::destroy_all_sessions() method is used to destroy all sessions for a user. This is useful if a user's account has been compromised and you want to invalidate all of their sessions.
WP_Session_Tokens::destroy_all_sessions() #
Destroys all sessions for the user.
Source
File: wp-includes/class-wp-session-tokens.php
abstract protected function destroy_all_sessions();
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
4.0.0 | Introduced. |