wp_destroy_all_sessions( )
Remove all session tokens for the current user from the database.
Stay on top of the latest WordPress API changes, developer tool updates, security alerts and more.