WordPress at a glance
function is not described

WP_Session_Tokens::destroy_all_for_all_users() WP 4.0.0

Destroys all sessions for all users.

This is a method of the class: WP_Session_Tokens

Hooks from the method
Return

Null. Nothing.

Usage

$var = WP_Session_Tokens::destroy_all_for_all_users();

Changelog

Since 4.0.0 Introduced.

Code of WP Session Tokens::destroy all for all users: wp-includes/class-wp-session-tokens.php WP 5.4.1

<?php
final public static function destroy_all_for_all_users() {
	/** This filter is documented in wp-includes/class-wp-session-tokens.php */
	$manager = apply_filters( 'session_token_manager', 'WP_User_Meta_Session_Tokens' );
	call_user_func( array( $manager, 'drop_sessions' ) );
}