WP_Session_Tokens::destroy_all()publicWP 4.0.0

Destroys all sessions for a user.

Method of the class: WP_Session_Tokens{}

No Hooks.

Return

null. Nothing (null).

Usage

$WP_Session_Tokens = new WP_Session_Tokens();
$WP_Session_Tokens->destroy_all();

Changelog

Since 4.0.0 Introduced.

WP_Session_Tokens::destroy_all() code WP 6.5.4

final public function destroy_all() {
	$this->destroy_all_sessions();
}