WordPress at a glance
function is not described

WP_Session_Tokens::destroy_all_for_all_users() public WP 4.0.0

Destroys all sessions for all users.

{} It's a method of the class: WP_Session_Tokens{}

Hooks from the method
Return

Null. Nothing.

Usage

$result = 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 5.5.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' ) );
}