@rogercoathup
15 years, 4 months ago
Use messages_get_unread_count()
e.g.:
http://pastebin.com/KcVRV10z