WP_Session_Tokens::drop_sessions() WordPress Method
The WP_Session_Tokens::drop_sessions() method is used to destroy all sessions for a user. This is typically used when a user logs out or when their account is deleted.
WP_Session_Tokens::drop_sessions() #
Destroys all sessions for all users.
Source
File: wp-includes/class-wp-session-tokens.php
public static function drop_sessions() {}
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
4.0.0 | Introduced. |