WordPress at a glance
function is not described

WP_User_Meta_Session_Tokens::drop_sessions() WP 4.0.0

Destroys all sessions for all users.

This is a method of the class: WP_User_Meta_Session_Tokens

No Hooks.

Return

Null. Nothing.

Usage

$var = WP_User_Meta_Session_Tokens::drop_sessions();

Changelog

Since 4.0.0 Introduced.

Code of WP User Meta Session Tokens::drop sessions: wp-includes/class-wp-user-meta-session-tokens.php WP 5.2.2

<?php
public static function drop_sessions() {
	delete_metadata( 'user', 0, 'session_tokens', false, true );
}