Play video content TMZ.com

Farrah Abraham was just released from jail after her late night bust in Bev Hills, and it looks like she learned a lesson from her arrest ... she's no longer mouthing off.

Farrah was swarmed by photographers and reporters outside the BHPD moments after her release. We're told she was cited for battery and trespassing, and did not have to post bail. She's facing misdemeanors.

The ex-'Teen Mom' star is still rocking the summery 2-piece she was wearing when she got arrested at The Beverly Hills Hotel.

Play video content JUNE 2018 TMZ.com

TMZ broke the story ... Farrah was arrested after allegedly striking and pulling the ear of a hotel security guard. We're told she'd been arguing with other guests, and when security asked her to leave ... she got belligerent.

Farrah's rep tells us, "This situation has been blown out of proportion, Farrah has not been charged and was released this afternoon. A misunderstanding occurred and there was no battery or trespassing. Farrah is the hardest working individual I know and sets very high standards of herself."