WP_User_Meta_Session_Tokens::destroy_all_sessions()
Destroy all session tokens for a user.
Source
File: wp-includes/class-wp-user-meta-session-tokens.php
protected function destroy_all_sessions() {
$this->update_sessions( array() );
}
Changelog
Version | Description |
---|---|
WP-4.0.0 | Introduced. |