Destroys all sessions for a user.
Source
final public function destroy_all() {
$this->destroy_all_sessions();
}
Changelog
Version | Description |
---|---|
4.0.0 | Introduced. |
CARVIEW |
Destroys all sessions for a user.
final public function destroy_all() {
$this->destroy_all_sessions();
}
Uses | Description |
---|---|
WP_Session_Tokens::destroy_all_sessions()wp-includes/class-wp-session-tokens.php | Destroys all sessions for the user. |
Version | Description |
---|---|
4.0.0 | Introduced. |
You must log in before being able to contribute a note or feedback.
Following is the real world example for destroying all the sessions for a user using
destroy_all()
.