WP_Session_Tokens::destroy_other_sessions()
Destroys all sessions for this user, except the single session with the given verifier.
Method of the class: WP_Session_Tokens{}
No Hooks.
Return
null
. Nothing.
Usage
// protected - for code of main (parent) or child class $result = $this->destroy_other_sessions( $verifier );
- $verifier(string) (required)
- Verifier of the session to keep.
Changelog
Since 4.0.0 | Introduced. |
WP_Session_Tokens::destroy_other_sessions() WP Session Tokens::destroy other sessions code WP 6.1.1
abstract protected function destroy_other_sessions( $verifier );