WP_User_Meta_Session_Tokens::drop_sessions()

In this article

Destroys all sessions for all users.

Source

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

Changelog

VersionDescription
4.0.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.