The real function is get_flashed_messages()