Used By
Used By | Description |
---|---|
wp-includes/class-wp-session-tokens.php: WP_Session_Tokens::destroy_others() | Destroys all sessions for this user except the one with the given token (presumably the one in use). |
Destroys all sessions for this user, except the single session with the given verifier.
(string) (Required) Verifier of the session to keep.
File: wp-includes/class-wp-session-tokens.php
abstract protected function destroy_other_sessions( $verifier );
Version | Description |
---|---|
4.0.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_session_tokens/destroy_other_sessions