WordPress at a glance
function is not described

WP_Session_Tokens::destroy_all_sessions() protected WP 4.0.0

Destroys all sessions for the user.

It's a 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_all_sessions();

Changelog

Since 4.0.0 Introduced.

Code of WP_Session_Tokens::destroy_all_sessions() WP 5.5.1

<?php
abstract protected function destroy_all_sessions();