WP_Session_Tokens::destroy_all_sessions()protectedWP 4.0.0

Destroys all sessions for the user.

Method of the class: WP_Session_Tokens{}

No Hooks.

Return

null. Nothing (null).

Usage

// protected - for code of main (parent) or child class
$result = $this->destroy_all_sessions();

Changelog

Since 4.0.0 Introduced.

WP_Session_Tokens::destroy_all_sessions() code WP 6.5.4

abstract protected function destroy_all_sessions();